Back to the 2023 paper

Module 2 : Syntax Analysis (Parser)

20236m

Show that the following grammar is LL(1) but not SLR(1).
S→AaAb/BbBaS \rightarrow AaAb/BbBa
A→ϵA \rightarrow \epsilon
B→ϵB \rightarrow \epsilon

Similar questions

Budget AppAndroid App

Pocketly on Android

Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.