Assignements
Slides
2-2-2009
Flex Tutorial
Rescources:
Lex- a text scanner
Lex and YACC
primer/HOWTO
Compiler Construction
using Flex and Bison(Good one)
Lex & Yacc
By John R. Levine, Tony Mason, Doug Brown
Flex: a fast lexical analyzer generator
Important: Instructions
Folder Structure: [PhaseX_YourName: Folder]

1- All Lex,Yacc and c files must be in the src folder.
2- All Lex and Yacc output files must be forwarded to the src folder.
3- All test files must be download to the bronco folder.
4- When you submit your homework, src folder must have only your input source
files. bronco folder must have only your test files and no exectuable files.
5- The binary output file generated after the build of project must be named
"broncoX", where X is the phase number or the homework number.
6- broncoX must be forwarded to the bronco folder.
7- The grader will compile and run your homework from the root of your project
folder as the following.
a. make 'To generate c files,delete all previous builds and compile the genereted
files.
b. cd bronco
c. broncoX testfile 'To test your executable file.
8- The root folder of your homework must be named PhaseX_YourName, where X is
the phase number or the homework number.
9- When you finish submit the root folder of your homework as a zip file
PhaseX_YourName.zip.
10- If you don't follow the above instructions your homework will not be graded.
|