CSC 272
Homework 7
Assigned Apr 5, due Apr 21

This assignment calls for two modifications to your homework 3 or 5. For full credit, do both; for partial credit, you can do either one.

  1. Modify your interpreter from Homework 3 part 1 (not homework 5 -- mutation and laziness don't play nicely together!) to implement mutable boxes (as in Chapter 13 of the PLAI book). The input syntax should have four new constructs:

  2. Modify your interpreter from Homework 3 or 5 to implement mutable variables (as in Chapter 14 of the PLAI book). The input syntax should have two new constructs:

You are encouraged to do this in teams of two, both students working together on all parts of the assignment; if you do this, turn in one homework with both names on it. I would prefer that you switch partners from one homework to the next, so you get more experience working with different people and so that I have an easier time computing a grade :-)


Last modified: Mon Mar 22 12:35:43 EDT 2010
Stephen Bloch / sbloch@adelphi.edu