Built-in Macros

 

Overview

This chapter is a reference guide to the Lisp built-in macros. These macros contain everything from basic control flow operators to keywords special forms.

All Lisp macros are structures, which are understood only by the macro expander (morph). Immediately after the lexical analyzer, is the macro substitution phase. Each macro is replaced by its expansion. All Lisp macros have meaning only at macro expansion time.

All Lisp macros are structures which are understood only by the Lisp macro expander. Unlike Function objects, the Lisp macros are invalid outside of compilation.

Macros

Here is a list of the links to the AIS Macros with their corresponding examples.

(sym)add1(sym)addValue(sym)divValue(sym)mulValue(sym)sub1
(sym)subValuebinaryNotbitwiseNotdefchilddefine(macro)
defmacrodeforphandefrienddefun