[antlr-interest] how to create an AST?

Potje rode kool everttigchelaar at gmail.com
Mon Sep 8 13:24:06 PDT 2008


Hi,

I am playing now for some time with antlr and I am trying to build an AST
but that seems to be quit hard.

I am try to parse a package declaration like this:

package org.something.more;

Seems that I have to use two .g files.
One that creates CommonTree objects and the other one to build an AST from
that.

Anyone knows how to get the stuff working?

Thanks,
Evert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080908/197e8f2b/attachment.html 


More information about the antlr-interest mailing list