Re: LR(1) Parsing : Error Handling & Recovery

Hans Aberg <haberg-news@telia.com>
Fri, 29 Aug 2014 11:13:44 +0200

          From comp.compilers

Related articles
[23 earlier articles]
Re: LR(1) Parsing : Error Handling & Recovery gneuner2@comcast.net (George Neuner) (2014-07-25)
Re: LR(1) Parsing : Error Handling & Recovery cdodd@acm.org (Chris Dodd) (2014-07-26)
Re: LR(1) Parsing : Error Handling & Recovery DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2014-07-28)
Re: LR(1) Parsing : Error Handling & Recovery cdodd@acm.org (Chris Dodd) (2014-07-29)
Re: LR(1) Parsing : Error Handling & Recovery monnier@iro.umontreal.ca (Stefan Monnier) (2014-08-06)
Re: LR(1) Parsing : Error Handling & Recovery drikosev@otenet.gr (Evangelos Drikos) (2014-08-26)
Re: LR(1) Parsing : Error Handling & Recovery haberg-news@telia.com (Hans Aberg) (2014-08-29)
Re: split tokens; was LR(1) Parsing : Error Handling & Recovery drikosev@otenet.gr (Evangelos Drikos) (2014-09-03)
Re: LR(1) Parsing : Error Handling & Recovery haberg-news@telia.com (Hans Aberg) (2014-09-03)
| List of all articles for this month |

From: Hans Aberg <haberg-news@telia.com>
Newsgroups: comp.compilers
Date: Fri, 29 Aug 2014 11:13:44 +0200
Organization: A noiseless patient Spider
References: 14-07-023 14-07-024 14-07-030 14-07-031 14-07-038 14-07-039 14-07-040 14-07-049 14-07-051 14-08-009
Keywords: lex
Posted-Date: 29 Aug 2014 11:32:10 EDT

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.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.