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 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> 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 On 2/6/2022 10:32 PM, Anton Ertl wrote: > Johann 'Myrkraverk' Oskarsson 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]