CS 2420-20 Homework 16

Due: Thursday, March 22nd, 2012 9:10am

This assignment is essentially the same as HW 13, but using the interpreter implemented in C.

Part 1 – Testing Numbers

Start with miniracket3.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, and struct.h.


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