Is this grammar SLR?
Posted
by Mike
on Stack Overflow
See other posts from Stack Overflow
or by Mike
Published on 2010-04-21T00:24:51Z
Indexed on
2010/04/21
0:33 UTC
Read the original article
Hit count: 228
parsers
E -> A | B
A -> a | c
B -> b | c
My answer is no because it has a reduce/reduce conflict, can anyone else verify this?
Also I gained my answer through constructing the transition diagram, is there a simpler way of finding this out?
Thanks for the help!
P.S Would a Recursive Descent be able to parse this?
© Stack Overflow or respective owner