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: Good explanation of Recursive Ascent Parsing wanted Date: Fri, 30 Sep 2022 10:45:05 +0000 Organization: Easynews - www.easynews.com Lines: 23 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-09-025@comp.compilers> References: <22-09-018@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="39309"; mail-complaints-to="abuse@iecc.com" Keywords: parse, LALR, comment Posted-Date: 30 Sep 2022 21:37:32 EDT 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-09-018@comp.compilers> Xref: csiph.com comp.compilers:3177 On 9/29/2022 3:26 AM, Aaron Gray wrote: > I am after a good explanation of Recursive Ascent Parsing as I wish to implement a parser generator to generate recursive ascent C/C++ code from an LR1 grammar. The best explanation I've read for all of this is Holub's Compiler at https://holub.com/compiler/ though I don't recall if he covers RA specifically. In any case, since other posters talked about Lex, Yacc, etc., I want to point out this book since 1) it's the one I personally learned best from, and 2) isn't recommended much [anymore.] It's where I learned more about implement- ing parser generators that any other more modern resource. If he does talk about RA at all, it's probably as an exercise or in an off-hand manner, for which the book may not be worth it. Good luck, -- Johann | email: invalid -> com | www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | twitter: @myrkraverk [I have the book, and he didn't. Keep in mind that the book had a stupendous number of errors, so be sure to read the 52 pages of errata at the back. -John]