|Grammar with precedence rules firstname.lastname@example.org (2002-03-09)|
|Re: Grammar with precedence rules email@example.com (Joachim Durchholz) (2002-03-11)|
|Re: Grammar with precedence rules firstname.lastname@example.org (2002-03-17)|
|Re: Grammar with precedence rules email@example.com (Dennis Mickunas) (2002-03-17)|
|Re: Grammar with precedence rules firstname.lastname@example.org (Joachim Durchholz) (2002-03-19)|
|Re: Grammar with precedence rules email@example.com (2002-03-21)|
|Re: Grammar with precedence rules firstname.lastname@example.org (Michael Dyck) (2002-03-31)|
|From:||Joachim Durchholz <email@example.com>|
|Date:||19 Mar 2002 16:10:20 -0500|
|References:||02-03-043 02-03-068 02-03-077|
|Posted-Date:||19 Mar 2002 16:10:20 EST|
Hans Aberg wrote:
> Right, this not what I want:
Hmm... I must confess that I didn't fully understand what you're trying
One thing that could be done is to use a Tomita (Earley) parser and use
the priorities to resolve any ambiguities. (Never having used such a
parser, I can't say whether the parser will give you the information you
need to trace the ambiguity to a rule though.)
BTW I'm not sure whether it's a good idea. Prioritizing stuff means that
you'll never see any unintentional ambiguities. And to make sure that
there are no unwanted ambiguities left, you'll have to thoroughly
understand the grammar, so you'll have to do it the hard way anyway.
Or did I overlook something?
> The book http://www.cs.vu.nl/~dick/PTAPG.htm
That link won't work, anybody interested in the book please try
http://www.cs.vu.nl/~dick/PTAPG.html (the l was missing on the file suffix).
Return to the
Search the comp.compilers archives again.