|weak precedence grammar email@example.com (Raphael Benedet) (2000-06-20)|
|weak precedence grammar firstname.lastname@example.org (1994-11-30)|
|From:||Raphael Benedet <email@example.com>|
|Date:||20 Jun 2000 02:44:19 -0400|
|Organization:||Université de Liège|
I'm trying to write a compiler which would use a weak precedence
grammar. From what I've read, when using this type of grammar, you
must have only one possible derivation for your input text.
But how would you modify a grammar such as the one below in order that
everything beginning with an <alpha> (e.g. "abc") give you a <ialpha>
and not a <xalpha> ?
What are the rules to modify such a grammar in order to obtain a weak
Also, if you could point me to good www references about the subject,
that might help me too.
As you can see, I'm pretty new to compiler programming. Any help would
be greatly appreciated. Thanks in advance.
Return to the
Search the comp.compilers archives again.