0 votes 0 votes Consider the below given grammar: S→(A S→B] S→C) A→B) A→C] B→D C→D D→ϵ The number of states in LALR(1) canonical item set are _______ and number of inadequate states (if any) in LALR(1) canonical item set is/are ____________respectively. Compiler Design compiler-design lalr clr parsing lr-parser + – Parshu gate asked Dec 10, 2017 Parshu gate 866 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Ashwin Kulkarni commented Dec 10, 2017 reply Follow Share 13 states. and no conflicted states. 0 inadequate. 2 votes 2 votes Parshu gate commented Dec 10, 2017 reply Follow Share please provide your diagram bro 0 votes 0 votes Mk Utkarsh commented Jan 19, 2018 reply Follow Share Ashwin plz verify if you still have it :p 0 votes 0 votes sandygate commented Nov 21, 2018 reply Follow Share i thinks their are 13 states and one state is inadequate. as lookahead of b->d. and c->d. is same for state 6. correct me if i am wrong 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes 13 states Psy Duck answered Oct 28, 2022 Psy Duck comment Share Follow See all 0 reply Please log in or register to add a comment.