CS0202 Compiler Construction: Assignments and Solution Sets



Assignment Material Due Date Solutions
Using java Directions, source files 1/21 Solution files
Lexing Directions, source files,
jlex downloads,
jlex manual,
jcup downloads
1/28 Yylex.lex,
Yylex_xc.lex (extra credit)
Recognizer (1) Directions, source files 2/5 Lake-1.cup (includes extra credit)
Recognizer (2) Directions, source files 2/12 Lake-2.cup (includes extra credit)
Parser Directions, source files 2/12 Lake-3.cup (includes extra credit)
Static type checking Directions, source files 3/11 Solutions embedded in next distribution
IR translation Directions, source files 3/25 Solutions embedded in next distribution
Canonical IR translation Directions, source files 4/1 Solutions embedded in next distribution
Instruction selection Directions, source files 4/8 Solutions embedded in next distribution
Interference analysis Directions, source files 4/15 Solutions embedded in next distribution
Register Allocation Directions, source files 4/22 IRFunction.java (includes extra credit)
Review Questions Problem Set 4/29