Related articles |
---|
Full LR(1) parser generator Hyacc 0.9 release txchen@gmail.com (Tom) (2008-02-03) |
Re: Full LR(1) parser generator Hyacc 0.9 release haberg@math.su.se (Hans Aberg) (2008-02-05) |
Re: Full LR(1) parser generator Hyacc 0.9 release txchen@gmail.com (Thomas Chen) (2008-02-07) |
Re: Full LR(1) parser generator Hyacc 0.9 release DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-02-11) |
Re: Full LR(1) parser generator Hyacc 0.9 release haberg_20080207@math.su.se (Hans Aberg) (2008-02-11) |
Re: Full LR(1) parser generator Hyacc 0.9 release txchen@gmail.com (Thomas Chen) (2008-02-12) |
Re: Full LR(1) parser generator Hyacc 0.9 release haberg_20080207@math.su.se (Hans Aberg) (2008-02-13) |
Re: Full LR(1) parser generator Hyacc 0.9 release paul@paulbmann.com (Paul B Mann) (2008-02-14) |
Re: Full LR(1) parser generator Hyacc 0.9 release cfc@shell01.TheWorld.com (Chris F Clark) (2008-02-14) |
[11 later articles] |
From: | "Thomas Chen" <txchen@gmail.com> |
Newsgroups: | comp.compilers |
Date: | Thu, 7 Feb 2008 19:30:48 -1000 |
Organization: | Compilers Central |
References: | 08-02-019 08-02-022 |
Keywords: | yacc, LR(1) |
Posted-Date: | 10 Feb 2008 17:27:06 EST |
Thanks for letting me know.
I actually was in contact with the Bison maintainer's team last April,
unfortunately one member (Joel) was not interested in combining this
work into it, because he thought it couldn't handle a problem caused
by using precedence rules to handle ambiguity (Bison couldn't do it
either at least by then). Personally I don't think it matters, since a
LR(1) algorithm is designed for LR(1) grammars, and all LR(1) grammars
are unambiguous. Any solution to ambiguity are side patches, and
should be orthogonal to LR(1) or LALR(1) algorithms. So incorporating
Pager's LR(1) algorithm, and solve the above issue independently
should not be a problem in my opinion.
The discussion back then can be found at the end of page
http://www.mail-archive.com/bison-patches@gnu.org/
in the thread "Re: LR(1) paser generator based on Pager's algorithm"
and http://www.mail-archive.com/bison-patches@gnu.org/msg02006.html
Bison has been the combined efforts of many people. I would
appreciate the idea of incorporating this into Bison. But since one
of their members was reluctant, I just keep up with my parallel
work. So far the performance of Hyacc is comparable to Bison except
for really complex LR(1) grammars (then LR(1) could be much slower
than LALR(1) by nature), but of course still lacks some interface
features. Bison also supports GLALR besides LALR. Hyacc will
concentrate on LR(1).
Return to the
comp.compilers page.
Search the
comp.compilers archives again.