Re: Graphical Depiction of Parse Trees

David Wohlford <dewd@aracnet.com>
22 Mar 2001 01:20:31 -0500

          From comp.compilers

Related articles
[4 earlier articles]
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)
Re: Graphical Depiction of Parse Trees dewd@aracnet.com (David Wohlford) (2001-03-22)
| List of all articles for this month |
From: David Wohlford <dewd@aracnet.com>
Newsgroups: comp.compilers
Date: 22 Mar 2001 01:20:31 -0500
Organization: Aracnet Internet
References: 01-01-051
Keywords: parse, tools
Posted-Date: 22 Mar 2001 01:20:31 EST

You might consider looking at the Zephyr toolkit, specifically ASDL.


http://www.cs.virginia.edu/~zephyr


It is an Abstract Syntax Description Language, and allows you to
describe your hierarchical structures at a high level, and then output
C, C++, SML code (and several others, I think) to manage those
structures. It also has a tool for viewing a "pickled" form of the
structures.


-dew


David Pereira wrote:


> Hi,
> I've written a parser for a language (which one is not really
> important) that builds a parse tree. I, however, want to browse this
> tree. I can print it out; in fact that is exactly what I am doing
> presently, but am looking for a better solution. 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). The crux of the matter is "hierachical visualization for a
> hierarchical datatype". Any ideas ???


Post a followup to this message

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