I will attempt to provide, to the best of my ability, a precise specification for each programming assignment. Programs are expected to meet these specifications exactly. Questions and clarifications should be settled beforehand. Programs that do not meet the stated specifications will be penalized heavily.
Function: Write code to traverse the syntax tree of each function and print it out. Get familiar with the syntax tree and symbol table code.
Given: front end for a C-- compiler;
Output: printout of syntax tree.
Specification
Start date: Mon Aug 27
Due date: Mon Sept 3
Note: This does not have to be turned in and will not be graded for credit.
Function: Generate assembly code.
Input: annotated syntax tree + symbol table;
Output: instruction sequence/assembly code.
Specification
Start date: Mon Sept 10
Due date: Mon Oct 1
Function: Dataflow analysis; dead code elimination.
Input: instruction sequence;
Output: instruction sequence.
Specification
Start date: Mon Oct 8
Due date:Mon Oct 22Tue Oct 23
Function: register allocation.
Input: instruction sequence;
Output: instruction sequence.
Specification
Start date: Mon Oct 29
Due date: Mon Nov 12