[antlr-interest] Good "dot" Invocation Options for Visualizing ASTs?

Jim Idle jimi at temporal-wave.com
Mon Oct 6 08:56:16 PDT 2008


On Mon, 2008-10-06 at 08:50 -0700, Randall R Schulz wrote:

> On Monday 06 October 2008 07:00, Randall R Schulz wrote:
> > Hi,
> >
> > Has anybody come up with good recipes for using the GraphViz
> > package's "dot" command for rendering the graphs of ASTs produced by
> > ANTLR 3 (.1.1)?
> 
> 
> Actually, what I'd really like is to recreate the layouts that 
> ANTLRWorks produces, but I haven't hit on the "dot" invocation that 
> does that, if in fact it's possible.


It doesn't use dot, check the source code and steal it? In general
Jean's code displays tress in an easier to read way, but there is more
work. Maybe he would be willing to expose and interface, if you ask
nicely.

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081006/5e296330/attachment.html 


More information about the antlr-interest mailing list