3 ms·
> In general, a macro produces code at compile time The term "macro" is overloaded. In a typical Lisp they are generating source as data, not just constant val
by lispm 2y ago
> In general, a macro produces code at compile time
The term "macro" is overloaded. In a typical Lisp they are generating source as data, not just constant values. Lisp macros also work in interpreters and they can use arbitrary language features, incl. creating side effects or accessing external data sources.