GATEverse Practice, past papers & mock tests
GATE 2024 · CS2 - Afternoon
Compiler DesignParsing TechniqueshardNAT2 marks

Consider the following augmented grammar, which is to be parsed with a SLR parser. The set of terminals is {a,b,c,d,#,@}

GRAMMAR RULES
S'S
SSS | Aa | bAc | Bc | bBa
Ad#
B@ Let I0 = CLOSURE({
S'. S}). The number of items in the set GOTO(I0, S) is ___________
Save your progress

Related Compiler Design PYQs