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

Randall R Schulz rschulz at sonic.net
Mon Oct 6 09:00:14 PDT 2008


On Monday 06 October 2008 08:56, Jim Idle wrote:
> 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,

I know that.


> 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.

This is not important important enough for me to go to that trouble. If 
I can't make dot do it, it's just not going to happen.


> Jim


Randall Schulz


More information about the antlr-interest mailing list