Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED!nerds-end From: Hans Aberg Newsgroups: comp.compilers Subject: Re: LR(1) Parsing : Error Handling & Recovery Date: Fri, 29 Aug 2014 11:13:44 +0200 Organization: A noiseless patient Spider Lines: 31 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <14-08-010@comp.compilers> References: <14-07-023@comp.compilers> <14-07-024@comp.compilers> <14-07-030@comp.compilers> <14-07-031@comp.compilers> <14-07-038@comp.compilers> <14-07-039@comp.compilers> <14-07-040@comp.compilers> <14-07-049@comp.compilers> <14-07-051@comp.compilers> <14-08-009@comp.compilers> NNTP-Posting-Host: news.iecc.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: miucha.iecc.com 1409326330 70790 2001:470:1f07:1126:0:676f:7373:6970 (29 Aug 2014 15:32:10 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Fri, 29 Aug 2014 15:32:10 +0000 (UTC) Keywords: lex Posted-Date: 29 Aug 2014 11:32:10 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com X-Received-Bytes: 2752 X-Received-Body-CRC: 3794351207 Xref: csiph.com comp.compilers:1366 On 2014/08/26 12:44, Evangelos Drikos wrote: > On 7/21/14, 7:39 PM, Hans Aberg wrote: > >>> [In my experience, it's a rare parser that is useful and doesn't depend >>> on some hacks. -John] >> >> Indeed, but yet another feature that one might want is being able to >> split the lexer as well - may be useful for experimenting with the >> processing of natural languages. Such a feature has been discussed a bit >> on the Bison mailing lists. > > Have read some of your relevant discussions; specifically: > [1] https://lists.gnu.org/archive/html/help-flex/2003-12/msg00008.html > [2] http://lists.gnu.org/archive/html/help-flex/2003-07/msg00067.html > [3] http://sci.tech-archive.net/Archive/sci.lang/2006-10/msg01330.html > > But cannot find Bison's todo list or relevant discussions in help-bison > lists. What the Bison team said about your idea? Is it described in any > paper or supported in another tool? Since then, development of Flex has ceased - perhaps this might change if it becomes a GNU project sometime. (There are different developers for Flex and Bison.) The Bison GLR parser, is written by Paul Hudak, and we discussed split tokens, which it cannot currently handle, a bit on one of the Bison lists (perhaps Bison Help). But that was also some time ago, and there does not seem anything of that going on now. The main focus is on computer languages, though it would be nice to be able to experiment with natural languages.