[antlr-interest] Re: SQL grammar tree construction problem

micheal_jor open.zone at virgin.net
Wed Nov 12 19:14:34 PST 2003


--- In antlr-interest at yahoogroups.com, "Thomas Brandon" <tom at p...> wrote:
> Not sure that this is the problem but...
> I don't think Antlr requires rooted trees.

As Ter pointed out in a different thread a coupla days ago, ANTLR
doesn't generate concrete syntax tree (CSTs) by default.

AFAICT, this ensures ANTLR doesn't generate a rooted subtree for each
rule by default. It is up to the grammar developer to specify the
exact structure of the generated AST. Of course a tree has to have a root.

Cheers,

Micheal



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list