0 votes 0 votes Can anyone draw the transition diagram for this augmented grammar in LR(1) parser? $S’\rightarrow S$ $S\rightarrow A|B$ $A\rightarrow fAi|n$ $B\rightarrow fBii|d$ for the above augmented grammar the number of states in LR(1) parser are________. Compiler Design compiler-design made-easy-test-series parsing numerical-answers + – Rohit Chakraborty asked Oct 6, 2023 • edited Nov 9, 2023 by Hira Thakur Rohit Chakraborty 442 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
8 votes 8 votes Number of states in $LR(1)$ Parser is 20. AniMan_7 answered Oct 7, 2023 • edited Nov 9, 2023 by Hira Thakur AniMan_7 comment Share Follow See all 0 reply Please log in or register to add a comment.