Assignment 2

CS 152
October 11, 2000
100 points

Redo Assignment 1, using Scheme. The test cases and grammar to be used are given in the file a2test.scm, available from the class web site. This file also lists and briefly documents the functions you will need to define. You should not need to make changes to this file. Your program should not load this file; instead you should load it by hand when in interactive mode.

As in Assignment 1, you may replace the filename arguments by strings arguments (but there will again be a penalty for doing so). You should not have to qualify the file names. Your output should go to the terminal instead of to a file.