[antlr-interest] building ASTs from a C++ grammar
Ward Flores
wardf at sympatico.ca
Thu Jun 10 12:00:06 PDT 2004
As I can see in the C++ grammars, they don't seem to support yet ASTs
buildings. I mean Terence Parr shows in "An Introduction to ANTLR"
that to generate ASTs from a grammar, we should: ... turn on the
buildAST option and add few suffix operators to tell ANTLR what tokens
should be subtree roots.
I didn't see those suffix operators in the C++ grammar available at
antlr.org or in the C++ grammar updated by Ric Klaren. Now,
considering that I'm new to this, I'm not 100% sure of this so could
someone confirm me that those C++ grammars don't support ASTs
buildings please?
Thanks in advance.
Ward
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list