[antlr-interest] Trees

Terence Parr parrt at jguru.com
Fri Feb 22 14:34:13 PST 2002


On Wednesday, February 20, 2002, at 04:53  AM, eng_john2001 wrote:

> Hello everybody,
>
>   I am a new guy in Antlr world. I want to be professional in Antlr 
> but I
> found its documentation difficult for me. Now I have a tutorial by Scott
> Stanchfield. He didnt mention anything related to AST and tree 
> structures. I
> understood that EBNF is enough to build a parser using Antlr. Is it 
> true or I
> misunderstood? What is the true? How to start?

Well, yes you can build a parser with an understanding of EBNF and 
language structure.  Building trees is a matter of using the AST 
construction suffixes like '^' or adding actions to do it.  Can you look 
at the examples to get started?

Terence
--
Chief Scientist & Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org


 

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



More information about the antlr-interest mailing list