Closed ghost closed 3 years ago
I have input the following grammar:
S -> a A . A -> A a . A -> b .
Grammophone tells me:
LR(0) Not LR(0) — it contains a shift-reduce conflict.
Adding E -> S eof . doesn't help either. Bug or feature?
E -> S eof .
Ok I see, to make use of eof we would need LR(1).
I have input the following grammar:
Grammophone tells me:
Adding
E -> S eof .
doesn't help either. Bug or feature?