Individual homework
- ASU 9.6
- ASU 9.13
You need to generate instructions in the intermediate language we talked about in class.
Project
- Write a detailed description of your pet feature. That must include grammar changes and a rigurous description of its full semantics (details are of the essence).
- Implement code generation for the following features of the extended
PL/0 language:
- If-Then-Else statements
- For loops
- Continue statements
- Constants
- Return statements - ONLY those that do NOT specify a return value
As usual, turn in only one solution per group, including:
- Paper Turnin:
- a summary of your test cases,
- printouts of those files
in which you make major changes (presumably only symtab.c and
type.h).
As usual, please highlight your changes on your
listings, and staple them for convenient reading.
- Electronic Turnin:
- Also turn in your whole
directory, including test cases, electronically.
As usual, you will be graded on correctness of your
implementation, on clarity and good design of your
implementation, and on sufficiency of your test cases.