Monday, August 2, 2004, 12:49:50 AM, John Cohen wrote:

> My problem is the fact I cannot use the start token on the right hand of the
> rule.  [...]

> How can I get this to accept things such as:
> 5 + 5 + 5
> 5 + 6
> ?

[I have never used lemon, but perhaps something like...]

expr := term | ...
term := int | int PLUS term | int MINUS term

e


Reply via email to