SLR uses LR(0) item sets plus FOLLOW sets for reductions, making it the simplest of these methods. Canonical LR keeps full item-specific lookaheads and handles a strictly larger grammar class than SLR or LALR. Thus C gives the requested pair.
More Parsing and Syntax Analysis questions
GATE 2015 CS (CS3) Q65– Grammar G has S→F H, F→p c, H→d c. S1: LL(1) can parse every string using grammar G. S2:…
GATE 2021 CS (CS2) Q61– The augmented grammar is S′→S; S→S#cS SS S@ <S> a b c, with #,@,<,>,a,b,c terminals. Let…