Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: "Alexei A. Frounze" Newsgroups: comp.compilers Subject: Re: Graphical representations of syntax trees? Date: Mon, 7 Feb 2022 18:17:07 -0800 (PST) Organization: Compilers Central Lines: 12 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-02-011@comp.compilers> References: <22-02-004@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="91006"; mail-complaints-to="abuse@iecc.com" Keywords: tools, parse, comment Posted-Date: 07 Feb 2022 21:54:46 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-004@comp.compilers> Xref: csiph.com comp.compilers:2890 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. Just how "graphically" do you need it represented? S-expressions-like? E.g. (+ a b) or +(a, b) or some such? Alex [From prior messages, I think we're talking about boxes and arrows. -John]