[Newcompiler] About Pragma node

Philippe Marschall philippe.marschall at gmail.com
Tue Aug 22 21:53:24 UTC 2006


2006/8/22, Mathieu Suen <mathieusuen at yahoo.fr>:
> Hi,
>
> Dose it make sence to make a new node for pragma.
>
> I have list of pragmas but it is juste here to recover from the parser,
> pragma can't be visite by any Visitor.

Why?

> What do you think?

At the AST level:
Please give use "real" objects not just some strings that are
formatted in some way, that don't know anything and can answer to
useful questions that you first have to parse into some high-level
objects.
So yes of course!

Philippe


More information about the Newcompiler mailing list