What are AST Macros?
Nick Sabalausky
a at a.a
Tue Jul 13 10:53:36 PDT 2010
"Steven Schveighoffer" <schveiguy at yahoo.com> wrote in message
news:op.vfr7dti0eav7ka at localhost.localdomain...
>
> Pulling apart an expression and reassmbling it can solve some problems,
> but the majority of the reason to need macros is to generate code, not to
> read it and rewrite it.
>
I can't help wondering if that is largely just because we're accustomed to
not being able to do the "pull apart" without significant effort. I think we
need to look at some of the use-cases in languages like Nemerle that have
that sort of thing.
More information about the Digitalmars-d
mailing list