[antlr-interest] CommonTree & Tree grammar versus DIY

Terence Parr parrt at cs.usfca.edu
Fri Aug 15 14:21:16 PDT 2008


On Aug 15, 2008, at 12:29 PM, Johannes Luber wrote:
> Can ANTLRmorph translate from Java to C# or any other language  
> without requiring an analysis depending on an AST?

It only requires a grammar; not AST, no actions.  If you need a symbol  
table, then you must obviously find actions in the grammar to build  
this.  It uses parse trees as generated by -debug / ParseTreeBuilder  
object.

Ter


More information about the antlr-interest mailing list