schmac

[primitive] schmac name pattern body

RRS: defines syntactic extension named name. When (name . rest) is evaluated, rest is matched againt the pattern, which is (possibly dotted) list of variables. The body is then evaluated in an environment where the variables in the pattern have as values the corresponding parts of rest.

The body is written in the meta-language used to write the evaluator. In the PDP-10 MacLISP implementation, the body is MacLISP code.

See also macro.