All of the web materials for CS362 were lost in the disk crash. The web site will be in a rough state until I have had a chance to regenerate those materials (i.e., indefinitely).

Compilers (CSC-362 98F)

Assignment 2: Straight-Line Program Interpreter

Implement the Straight-line program interpreter described by Appel at the end of chapter one. You should follow his guidelines, including use of single-assignment form and inclusion of a table.

Write at least three programs that can be used to test your interpreter.

In order to complete this assignment by the designated time, it is likely that you will need to assign clear tasks to each group member. For example, one might be in charge of the table. At times, you will need to make large scale design decisions. For example, you may want to put one person in charge of writing maxargs, or you may want to put different people in charge of the different straight line program components, and have each responsible for making maxargs work on his or her component.

Write a one page essay (approximate) summarizing what you learned in this assignment.

Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.

Source text last modified Mon Sep 7 12:01:27 1998.

This page generated on Mon Sep 7 12:08:19 1998 by SiteWeaver.

Contact our webmaster at