I study macros in Racket (the language successor to Schema). No mention of when the macro distribution is performed. On page 17 of this this document, I found a paragraph that says this happens before validation, evaluation, and compilation.
So, if I understand correctly, macro expansion occurs immediately after the construction of an abstract syntax tree (AST)?
source
share