Back to the 2022 paper

Module 2 : Syntax Analysis (Parser)

202214m

Construct LALR(1) parsing table for the following grammar. Also prove that this is not SLR(1).
SAabAcdcbdaS \rightarrow Aa | bAc | dc | bda
AdA \rightarrow d

Similar questions