CSE 341 -- Programming Languages

Autumn 2001

Department of Computer Science and Engineering, University of Washington

Steve Tanimoto (instructor)

Assignment 2

Version 1.0 of October 8

Introduction to Lisp 

Due date and time: Thursday, October 18, 2001 (at the beginning of section).

Turn in this assignment as a hardcopy printout.


 

Title: Lisp Macros.

Purposes: Gain exposure to Lisp macros, gain fluency writing Lisp macros, demonstrate mastery of basic Lisp constructs, see how Lisp macros play an important role in creating embedded languages within Lisp.

Instructions: Study the short chapter on writing Lisp macros. Try performing the MACROEXPAND operation on various calls to built-in macros. Then do the following problems.