CS5810 Project: Compiler Design and Implementation Spring 2009
Instructor: Zijiang (James) Yang   zijiang@cs.wmich.edu
Course Web Page: http://www.cs.wmich.edu/~zijiang/CS5810/
Teaching Assistant: Mahmoud Said   mahmoud.said@wmich.edu
Note: When you send emails, each message must have a descriptive subject with the indicated prefix:
CS5810 Phase#- , John Smith’s message must be as follows for his first lab: CS5810 Phase1-John.Smith
Office Room; CEAS C-136

Assignements
Phase Date Due
Lexical Analyzer 2-2-2009 2-16-2009
Bronco# Parser 2-24-2009 3-13-2009
Bronco# Semantic Analyzer 3-17-2009 31-3-2009
Bronco# Intermediate Lang. Translator
      Download Test Files
3-31-2009 4-14-2009

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.