3 ms·
Also macros do not capture their caller AST! They operate on the code passed to them. Another important point that removes any friction. This way nesting macros
by planetis 6y ago
Also macros do not capture their caller AST! They operate on the code passed to them. Another important point that removes any friction. This way nesting macros works with no problem, they're expanded in order. (I can think even more reasons why your argument is unbased, like "hygienic" identifiers, operating on AST level versus ugly string concats, etc but whatever.)