CS 2420-20 Homework 17

Due: Tuesday, March 27th, 2012 9:10am

This assignment is essentially the same as HW 16, but using the interpreter with explicit todo records.

Part 1 – Testing Numbers

Start with miniracket4.zip.

Add support for booleans as values and expressions, and also add an iszero form that has a single sub-expression.

Part 2 – Adding Conditionals

Add an if form to the language.

Handin your revised main.c (for new tests), eval.c, print.c, struct.c, struct.h, continue.c, and continue.h.


Last update: Wednesday, March 21st, 2012
mflatt@cs.utah.edu