[antlr-interest] OT: Generating visual representations of a AST

Andreas Ravnestad andreas.ravnestad at gmail.com
Sat Dec 8 11:01:18 PST 2007


On 12/8/07, David Holroyd <dave at badgers-in-foil.co.uk> wrote:
> On Sat, Dec 08, 2007 at 07:39:23PM +0100, Andreas Ravnestad wrote:
> > I've been using qtree+latex to generate visual representations of
> > AST's, however qtree has some serious limitations as well as
> > annoyances, so I'm looking for some other way to generate these visual
> > representations.
> >
> > My current parser can generate a textual AST representation on any
> > LISP-like form (root (child1 child2... etc
> >
> > So, anyone know a good way to generate nice graphics trees? :)
>
> I use graphviz,
>
>   http://graphviz.org/
>
>
> ta,
> dave
>
> --
> http://david.holroyd.me.uk/
>

Ah yes I was just reading up on it :) Are you generating the code from
toStringTree()?

-Andreas


More information about the antlr-interest mailing list