Submission instructions
All assignments must be submitted by midnight on the due date.
To submit an assignment, use the SUBMIT331 command together with the
name of the folder containing the assignment, e.g., "submit331 lexical_analyzer".
The contents of the folder should be
-
source for all required modules
- test input file
- (For C++ programs) a
makefile set up so that to produce the executable, one need
only give the command make. To do this, be sure the first rule in
the makefile is the one that links the .o files to produce the executable.
Lexical analyzer
Submitted folder name: lexical_analyzer
Test file : lextest.dat
Input parameter : input file name (e.g. lextest.dat)
Output medium : standard output
Parser
Submitted folder name: Parser
Test file : parsetest.dat
Input parameter : input file name
(e.g. parsetest.dat)
Output medium : standard output
Symbol Table Routines
Submitted folder name: symbol_tables
Test file : symtabtest.dat
Input parameter : input file name
(e.g. symtabtest.dat)
Output medium : standard output
Final project (with semantic actions)
Submitted folder name: Compiler
Name of the executable: compile
Input parameter : input file name
(e.g. simpletest.pas)
Output medium : standard output