Question 31
For an SLR(1) parser, when does the parser perform a REDUCE action A -> alpha in state I under lookahead symbol 'a'?
SLR(1) uses FOLLOW sets to restrict reduce actions: reduce by A -> alpha in state I only if lookahead token 'a' belongs to FOLLOW(A).