2 consider the following grammar start greater than s s greater than a
Search for question
Question
2). Consider the following grammar:
Start -> S
S-> A a
A-> BC
A -> B C f
B-> b
C -> c
a. Construct the canonical collection of sets of LR(1) items for this grammar.
b. Derive the Action and Goto tables.
c.
Is the grammar LR(1)?