CS 2420-20 Homework 12

Due: Tuesday, March 1st, 2011 9:10am

Part 1 – Functions as Mini Racket Values

Start with miniracket1.rkt (password required; check your e-mail). The starting code treats non-function and function definitions differently, and only numbers are values—not functions.

Change the language so that lambda forms are expressions and functions are values. Change application expressions to have an expression for the function to call, instead of always naming a function with an identifier. The “misuse of argument” error in subst should go away.

Last update: Thursday, April 7th, 2011