[antlr-interest] AST

Martin Probst mail at martin-probst.com
Wed Apr 5 02:17:12 PDT 2006


Hi Yassin,

I'm sorry but I cannot understand your question. In order to have the
parser build an AST you have to write "buildAST = true" in the header of
you grammar, yes. After that, you can control tree construction with the
syntax described in the ANTLR manual (e.g. ^, #, ##, etc.).

What was your exact question?

Martin

Am Dienstag, den 04.04.2006, 17:44 +0200 schrieb Yassin.Chkouri at imag.fr:
> Hello,
> 
> Now I will begin the construction of arbe AST . but I cannot the méthose be
> followed yet?  but I think that it is necessary activated buildAST = true;  in
> is the option after it necessary to add them?  and #. 
> 
> yassin
> 
> -------------------------------------------------
> envoyé via Webmail/IMAG !
> 
> 



More information about the antlr-interest mailing list