![]() |
| | #1 |
| UCF Join Date: Oct 2004
Posts: 33
| Lex and Yacc I have a class where I'm supposed to create a program for lex and then one for yacc which on my school olympus account is flex and bison. I was wondering how do I go about creating editing the files? Can I use flex and bison to create and edit them or are they just for running the programs. I've been looking around online and cannot seem to find any information on it. Should I try to use something like the VI editor or is there a way to use the other two commands to start on the programs? |
| Mystic_Skies is offline | |
| | #2 |
| and the hat of Jobseeking Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,706
| Input files to lex and yacc are regular text files just like C programs are, so any text editor will do. As for the syntax etc of the contents of these files, well that's a whole different ball game |
| Salem is offline | |
| | #3 |
| UCF Join Date: Oct 2004
Posts: 33
| Alright thanks. I tried using VI editor but it seemed so complicated and then just found pico. Seems a lot easier. Thanks though. |
| Mystic_Skies is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Three Address Code generation using Lex, Yacc | Raman | C Programming | 1 | 11-04-2008 09:04 AM |
| Anybody into lex and yacc ? | spank | Tech Board | 8 | 07-20-2007 03:30 AM |
| using YACC and lex to make your own shell... | YankeePride13 | Linux Programming | 2 | 12-28-2005 10:00 AM |
| Yacc and Lex | Chronom1 | C++ Programming | 1 | 03-09-2005 08:03 AM |
| Code for C Compiler using lex and yacc | jaadugary | C Programming | 0 | 05-10-2003 09:11 AM |