Assignment 2

Due Tuesday, April 13th in class.

Macros

  1. From ANSI Common Lisp, Problem 10.4 (p 174)
    You'll need to read Section 6.2 (same book) to learn about local functions.
  2. Write a macro called till that executes a body until a test condition becomes true. Run your macro on two test expressions (and include the output), and show the macro expansions for both.

Planning

  1. AIMA 11.1
  2. AIMA 11.2
  3. AIMA 11.9