next up previous
Next: The Assignment Up: Compiler Theory: Assignment 1 Previous: Compiler Theory: Assignment 1

Guidelines

Date of postage.
Thursday, September 23, 2004.
Normal date for submission.
Thursday, October 14, 2004 (no penalties).
Last date for submission.
Tuesday, October 19, 2004 (late penalties apply from Friday 15).
Due format.
The assignment should be returned to the instructor by email. Your submission will have the form of a UNIX archive created with the UNIX command tar. This archive will have a structure similar to those of the example archives available on the course web site. More precisely, a src directory will contain your flex (or lex) source programs, a test directory will contain your test files, a Makefile will define the targets and a README will explain these targets. Moreover, your comments or answers to the assignment questions (that are not computer programs) will be made in a file In addition, you could have a bin directory for binaries (as in the course example archives) and a ps directory for postscript versions of computer programs (this is convenient to print them!). The computer programs of this assignment are all input files for the flex (or lex) program, and standard C program or header files. C++ is not allowed. The preferred version of flex/lex is flex version 2.5.4. Please, contact me if you were using a more recent one.

Your Makefile must work under Linux (with a recent distribution) or under a UNIX system of the GAUL network. You can reuse the Makefile of the archive lex.tar.gz from the course web site. Note that this Makefile was developed with bash under Red Hat 7.3 (Linux) and using GCC version 2.96.

Your README must specify which UNIX system you are using (Linux or SunOS) and which shell (command language interpreter) you are using (tcsh or bash). For the compilation options of flex/lex please refer to the Makefile of the archive lex.tar.gz.

Late penalties.
See the course outlines.
Collaboration.
You are expected to do this assignment on your own without assistance from anyone except from the instructor.
Marking.
This assignment will be marked out of 40. The allocation of marks is given below.


next up previous
Next: The Assignment Up: Compiler Theory: Assignment 1 Previous: Compiler Theory: Assignment 1
Marc Moreno Maza
2004-12-01