[antlr-interest] ANTLR Tree to Graphviz translator

Bjoern Doebel doebel at tudos.org
Wed Aug 15 02:56:54 PDT 2007


Hi,

I'm currently trying to build a larger ANTLR tree parser. For learning und
debugging I found it handy to visualize the string representations ANTLR
prints for my trees, so I wrote a small grammar and tool to translate it
into the Dot language used by GraphViz.

I know this is nothing new or complex and that there is the ANTLR studio
that can aid in debugging much more efficiently. Anyway, if someone prefers
to use ANTLR from the command line and wants some visualization, you might
want to try it out http://os.inf.tu-dresden.de/~doebel/Tree2Dot/

Regards,
Bjoern


More information about the antlr-interest mailing list