Re: Graphical Depiction of Parse Trees

christl@oberon.fmi.uni-passau.de (Timon Christl)
11 Jan 2001 12:26:42 -0500

          From comp.compilers

Related articles
Graphical Depiction of Parse Trees davidpereira@home.com (David Pereira) (2001-01-09)
Re: Graphical Depiction of Parse Trees j.troeger@qut.edu.au (Jens Troeger) (2001-01-11)
Re: Graphical Depiction of Parse Trees ruff@mcst.ru (Andrey S. Bokhanko) (2001-01-11)
Re: Graphical Depiction of Parse Trees christl@oberon.fmi.uni-passau.de (2001-01-11)
Re: Graphical Depiction of Parse Trees chase@naturalbridge.com (David Chase) (2001-01-11)
Re: Graphical Depiction of Parse Trees nr@labrador.eecs.harvard.edu (2001-01-11)
Re: Graphical Depiction of Parse Trees jacobs@darwin.epbi.cwru.edu (Kevin Jacobs) (2001-01-11)
Re: Graphical Depiction of Parse Trees Sid-Ahmed-Ali.TOUATI@inria.fr (Sid Ahmed Ali TOUATI) (2001-01-11)
Re: Graphical Depiction of Parse Trees Joachim.Pimiskern@de.bosch.com (Joachim Pimiskern) (2001-01-11)
Re: Graphical Depiction of Parse Trees pradipkar@my-deja.com (2001-01-18)
[1 later articles]
| List of all articles for this month |
From: christl@oberon.fmi.uni-passau.de (Timon Christl)
Newsgroups: comp.compilers
Date: 11 Jan 2001 12:26:42 -0500
Organization: Compilers Central
References: 01-01-051
Keywords: parse, graphics
Posted-Date: 11 Jan 2001 12:26:42 EST

On 9 Jan 2001 23:24:33 -0500, David Pereira wrote
> In particular, I was wondering if I could generate the tree in some
> special format as input to some sort of program that draws the tree
> onto the screen (whose nodes can be expanded and collapsed with the
> click of a mouse button perhaps).


For quite simple trees(Up to 50 nodes should work OK) I've used 'dot'
from the free graph visualization software GraphViz [1] which takes an
ASCII file describing the nodes and edges of a graph (or tree as
special case) and produces Postscript besides other
formats. Unfortunately this solution does not allow you to
interactively expand and collapse subtrees with mouse clicks, if this
is what you really want.


I've also seen the GNU program 'info' or HTML being used to view a
parse tree.


[1] http://www.research.att.com/sw/tools/graphviz/


--
Timon Christl <christl@fmi.uni-passau.de>


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.