Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED!nerds-end From: Aleksey Demakov Newsgroups: comp.compilers Subject: Re: Articles/books that discuss separating the context-free part of a language from the context-sensitive part? Date: Sat, 18 May 2013 16:52:58 +0400 Organization: Compilers Central Lines: 14 Sender: johnl@iecc.com Approved: comp.compilers@iecc.com Message-ID: <13-05-013@comp.compilers> References: <13-05-010@comp.compilers> NNTP-Posting-Host: news.iecc.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: leila.iecc.com 1369014551 84195 64.57.183.58 (20 May 2013 01:49:11 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Mon, 20 May 2013 01:49:11 +0000 (UTC) Keywords: parse, books Posted-Date: 19 May 2013 21:49:11 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:899 On Sat, May 18, 2013 at 12:57 AM, Costello, Roger L. wrote: > Are there any articles or books that discuss this technique? > > [That's been the conventional wisdom at least since I took a compilers > course in the early 1970s. I believe I mentioned it in lex&yacc and > later in flex&bison. It's easier, and it also permits much better > error messages. -John] Yes, perhaps any book on compilers would present exactly this approach. I personally found "Engineering a Compiler" by Keith Cooper and Linda Torczon to be a very good intro into compilers. Regards, Aleksey