Solveeit Logo

Question

Compiler Design Question on SLR(1)

Grammar to be parsed by SLR parser {a, b, c, d, #, @
S'S
S SS |Aa| bAc | Bc | bAb
A d#
B @
(Closure { S'.S})
The number of items in goto Io on input S.

Answer

The correct answer is 9.