|Earley parser email@example.com (2005-05-03)|
|Earley parser bugs? firstname.lastname@example.org (Daniel Zingaro) (2007-07-25)|
|Re: Earley parser bugs? email@example.com (Sylvain Schmitz) (2007-07-26)|
|From:||Sylvain Schmitz <firstname.lastname@example.org>|
|Date:||Thu, 26 Jul 2007 16:55:18 +0200|
Daniel Zingaro wrote:
> I pulled the following message from the website text search. I find it
> hard to follow the example in the message though, and wonder if anyone
> can further explain why Earley's parsing extension to his recognizer
> algorithm given in his Ph.D. thesis does not correctly build parse
> trees. Any examples or references to papers would be appreciated. Thanks.
Elizabeth Scott presented a paper on the subject at LDTA'07: _SPPF-Style
Parsing From Earley Recognisers_, to appear in ENTCS. An example of
incorrect Earley parsing given there (and originally from Tomita) is the
S -> S S | a
with input "aaa", for which Earley's parsing procedure allows spurious
derivations for "aaaa" and "aa".
Hope that helps,
Return to the
Search the comp.compilers archives again.