[antlr-interest] Showing all input text on tree parser output

Monty Zukowski monty at codetransform.com
Thu Mar 17 07:30:58 PST 2005


Tov, Amatzia wrote:
> Hi,
> 
> I'm trying to walk over an AST using a tree parser, and output all the original text while doing it.
> 
> How can it be done?

Take a look at the GCC grammar on antlr.org, it does that.

Monty


More information about the antlr-interest mailing list