Diego Martínez
2012-11-20 17:48:23 UTC
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
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