News for hackers. Stuff that matters.
Re:So You Want to Write Your Own Language (2014) by kazinator on Wednesday December 23, 2015 @06:06PM (#10786190)
That is correct. Expansion isn't necessarily macro expansion. But it's the same kind of thing and may even be be done in the same code walking pass (and possibly have to). (Since the constructs being expanded could be generated by macros, then if the expansions also use macros in their syntax, the two have to be interleaved.)

The difference is minor: it's basically "does the code walker specially recognize this construct and invoke some code to expand it" versus "does the code walker recognize a macro call and invoke it to expand it".

There are no comments on this comment yet.