Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Steve Limb Newsgroups: comp.compilers Subject: Re: Graphical representations of syntax trees? Date: Tue, 8 Feb 2022 09:14:41 +0000 Organization: Compilers Central Lines: 13 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-02-013@comp.compilers> References: <22-02-004@comp.compilers> <22-02-005@comp.compilers> Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="85722"; mail-complaints-to="abuse@iecc.com" Keywords: parse, tools Posted-Date: 08 Feb 2022 09:49:17 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com In-Reply-To: <22-02-005@comp.compilers> Xref: csiph.com comp.compilers:2892 Antlr has a UI for parts of this. Not sure if you can print it though. It tends to get a bit ‘deep’ for a more complete grammar. > On 6 Feb 2022, at 21:07, gah4 wrote: > > On Sunday, February 6, 2022 at 10:28:41 AM UTC-8, Johann 'Myrkraverk' Oskarsson wrote: > >> Are there any resources, or papers, about the subject of representing >> syntax trees graphically? Given the idea that a compiler reads syntax >> and generates code, all I have to do to "print" it, is to generate post- >> script. Surely this has been done before.