JJTree in JavaCC generates Parse Tree, not AST ??

"John Davis" <jrefactor@hotmail.com>
6 Nov 2002 11:59:12 -0500

          From comp.compilers

Related articles
JJTree in JavaCC generates Parse Tree, not AST ?? jrefactor@hotmail.com (John Davis) (2002-11-06)
Re: JJTree in JavaCC generates Parse Tree, not AST ?? arnaud.clere@free.fr (Arnaud Clère) (2002-11-12)
| List of all articles for this month |
From: "John Davis" <jrefactor@hotmail.com>
Newsgroups: comp.compilers
Date: 6 Nov 2002 11:59:12 -0500
Organization: http://groups.google.com/
Keywords: Java, question
Posted-Date: 06 Nov 2002 11:59:12 EST

I want to confirm if JJTree in JavaCC generates Parse Tree (Concrete
Syntax Tree), not AST (Abstract Syntax Tree)???


But the 84 classes for each non-terminal node (ASTXXX.java) represents
the AST node then??


I am not sure how to change the grammar in order to produce an AST,
not Parse Tree.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.