On Jun 3, 2009, at 3:53 AM, Ramana Kumar wrote:

I meant that you get to choose whether to operate on the syntax object
post-expansion versus always having to use the pre-expansion version.
Now I can think of a problem, though - the result of expansions might
not be a syntax object that you can work with.

Correct.  After expansion, it's not a syntax object.  It's likely
to be some internal compiler data structure, or a list with a weird
syntax, or whatever the protocol between the expander and compiler
is.  Macros do not operate on this representation; all they do is
source-to-(simpler-)source transformations.

Aziz,,,

Reply via email to