[antlr-interest] 272 documentation

Terence Parr parrt at cs.usfca.edu
Thu Oct 30 13:49:09 PST 2003


Hi Dave,


On Thursday, October 30, 2003, at 02:44 AM, Dave Pawson wrote:

> Refers to http://www.jguru.com/faq/view.jsp?EID=78 in the getting 
> started
> section
>
> An example there uses class AST
>
>
> // Get the tree out of the parser
>    AST resultTree = parser.getAST();
>
> This fails to compile using the antlr jar file.
>
> Any suggestions please?

What error do you get?

>
> There appears to be a factory approach, but not used in this example.
> Is it out of date?

Possibly...see my course notes on "Introduction to ANTLR" for more tree 
intro stuff.

Ter
--
Professor Comp. Sci., University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Co-founder, http://www.jguru.com
Co-founder, http://www.knowspam.net enjoy email again!
Co-founder, http://www.peerscope.com pure link sharing




 

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




More information about the antlr-interest mailing list