2 2 0 B   L i s p   R e s o u r c e

This page was created as a review of basic Lisp programming for the 2000 CCRMA/Stanford University 220B course.
Fernando Lopez-Lezcano, Instructor
Matthew Burtner, Unjung Nam, Teaching Assistants
last updated: 1/10/2000

  • Lisp Resources: where to find the best information on Common Lisp and Common Lisp Music

  • Symbols and Numbers: using characters, integers, real numbers, complex numbers, t, and nil.

  • Conses: using car and cdr

  • Local and Global Variables: using defvar, let, setq, setf, and let*

  • The Loop: the ever so, ever so, ever so useful forms of loop

  • Structures: creating structures using defstruct

  • Formatting: Lisp's general printing routine (similar to C's printf and sprintf)

  • Functions: creating user-defined functions with defun; assigning &key and &optional parameters; using if and cond statements; and watching the recursive process with trace