Consider the grammar G with the following productions: S → SaP | P P → PbQ | Q…
Consider the grammar G with the following productions:
S → SaP | P
P → PbQ | Q
Q → QcR | R
R → d
Let CLR(1) parser is used to construct the sets of CLR(1) canonical items for G, then number of look-ahead for an item Q → •QcR in initial state are _______
Attempted by 20 students.
Sign up free to check your answer
Sign up freeLoading lesson…

