[antlr-interest] AST tutorial

Herumor herumor at fastwebnet.it
Wed Aug 2 02:24:20 PDT 2006


Hello guys,
first of all I want to thank you everyone here for the help provided in
the past.
Now let's come to the point: I wish you could provide me some links
where the ANTLR ast trees and options are well described.
Particularly

loop_cond
  : SEMICOLON!
  { #loop_cond = #([NULL_NODE, "null_cond"]); }
  | expr SEMICOLON!
  ;


  { #loop_cond = #([NULL_NODE, "null_cond"]); }

the meaning of this kind of expressions.
I know the meaning of '!' or ^ or when there's nothing next to a rule.
But I haven't got yet the meaning of that expression.
If anyone could explain me it into detail or send me the link to  a web
page that explains it step by step as I'm a newbie in these things that
would be great.
Thank you everyone for helping me.
Davide Pugliese


More information about the antlr-interest mailing list