COS 320, Spring 2000. Programming Assignment

Back-end Module Implementation

Implement the following modules that are described in Chapters 6-12 of Modern Compiler Implementation. Also implement one of the following modules that are described in Chapters 6-12 of Modern Compiler Implementation. These modules are: The directory /u/cos320/chap6+ contains a number of signatures and source fragments that serve as starting points. There are a few changes with respect to the textbook:

Assignment 6

Write dummy versions of your modules that ignore its input and produce the output appropriate for a given sample program.

Assignment 7

Write versions of your modules that mostly work. (Do FindEscape, Translate, and one other.) Verify that the dummy input given to you by other teams is reasonable and correct.

Assignment 8

Produce versions of your modules that you warrant as correct.

Assignment 9

Prepare a beautifully documented version for your classmates to read. And, since warrantees aren't everything, fix the bugs reported to you by your classmates.