Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.compilers > #2887

Re: Graphical representations of syntax trees?

Path csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end
From Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.com>
Newsgroups comp.compilers
Subject Re: Graphical representations of syntax trees?
Date Mon, 7 Feb 2022 10:49:30 +0000
Organization Easynews - www.easynews.com
Lines 24
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <22-02-008@comp.compilers> (permalink)
References <22-02-004@comp.compilers> <22-02-006@comp.compilers>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Info gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="54608"; mail-complaints-to="abuse@iecc.com"
Keywords parse, tools, comment
Posted-Date 07 Feb 2022 13:01:12 EST
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
Content-Language en-US
In-Reply-To <22-02-006@comp.compilers>
Xref csiph.com comp.compilers:2887

Show key headers only | View raw


On 2/6/2022 10:32 PM, Anton Ertl wrote:
> Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.com> writes:
>> Are there any resources, or papers, about the subject of representing
>> syntax trees graphically?
>
> There are LaTeX modes for displaying trees.  There is also the
> graphviz package for visualizing graphs.

Sure, these are packages.  But no actual algorithms, or discussions of
how to do these things by myself.  Unless there's something in the latex
literature that I haven't found yet.

Between the time of sending this off to the moderation queue and
appearing, I found something about an Ada control flow graph making,
but all it does is offload the graphic bits to graphviz.

I was hoping, that if I did this by myself, I would not have to reinvent
the basics.  That's all.

--
Johann | email: invalid -> com | www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | twitter: @myrkraverk
[I suspect the practical problem is that for any but the tiniest programs
the parse tree will be so large and bushy as to be unreadable. -John]

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Graphical representations of syntax trees? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.com> - 2022-02-04 20:20 +0000
  Re: Graphical representations of syntax trees? gah4 <gah4@u.washington.edu> - 2022-02-06 13:07 -0800
    Re: Graphical representations of syntax trees? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2022-02-06 23:38 +0100
    Re: Graphical representations of syntax trees? Steve Limb <stephenjohnlimb@gmail.com> - 2022-02-08 09:14 +0000
  Re: Graphical representations of syntax trees? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-02-06 22:32 +0000
    Re: Graphical representations of syntax trees? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.com> - 2022-02-07 10:49 +0000
      Re: Graphical representations of syntax trees? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-02-07 18:33 +0000
      Re: Graphical representations of syntax trees? Jonathan Thornburg <jonathan@gold.bkis-orchard.net> - 2022-02-08 21:34 +0000
        Re: Graphical representations of syntax trees? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2022-02-11 21:16 +0000
  Re: Graphical representations of syntax trees? "Alexei A. Frounze" <alexfrunews@gmail.com> - 2022-02-07 18:17 -0800

csiph-web