[antlr-interest] Graphical AST

Juancarlo Añez apalala at gmail.com
Tue Nov 20 10:32:19 PST 2012


Hello Diego,

I don't know about the specific problem you describe, but I do know that
3.4 is not the latest version of the 3.x series.  It is 3.4.1-snapshot, and
you must get it from Github.

Things that did not work for me with 3.4 work perfectly with 3.4.1-snapshot.

Cheers,


On Tue, Nov 20, 2012 at 1:18 PM, Diego Martínez <tabarem at gmail.com> wrote:

> Hi,
>
> I following step by step the next wiki entry:
>
> http://www.antlr.org/wiki/display/ANTLR3/How do I display ASTs graphically
>
> DOTTreeGenerator gen = new DOTTreeGenerator();
> StringTemplate st = gen.toDOT(t);
> System.out.println(st);
>
> I use the antlr-3.4-complete-no-antlrv2.jar
>
> When invoke gen.toDot(...) method it has StringTemplate class in your
> return type (StringTemplate 3?), and the StringTemplate bundled within the
> jar is 4 (name is ST instead of StringTemplate, etc).
>
> I'm a novice in antlr, what is wrong with the dependencies?.. i need it to
> generate a graphical view of my AST.
>
> Thank you!! Diego Martínez
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>



-- 
Juancarlo *Añez*


More information about the antlr-interest mailing list