Defining Macros in Lisp
Example: NULLIFY
Macro Expansion for NULLIFY
Macro Call Evaluation
Example: IF-N-Z-P
Macro Expansion: IF-N-Z-P
Example: PUSH (actually built-in)
Macro Expansion for PUSH
Full Macro-form Evaluation
Example: TWICE
Example: AVERAGE
Example: SET-TO-ONE
Backquote and Comma Syntax
Example: ENQUEUE
Example: SELECT
Language Extension
Email: tanimoto@cs.washington.edu
Home Page: www.cs.washington.edu/people/faculty/tanimoto.html
Download presentation source