0 votes 0 votes what is sequence order of solving LR(K) grammar, if the question is asking about SLR, CLR, LALR? what is sequence after solving SLR(1) (assume till now grammar is not SLR(1)), then proceed for LALR/CLR DFA??? Compiler Design parsing + – Hira Thakur asked Dec 3, 2018 Hira Thakur 231 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply gauravkc commented Dec 3, 2018 reply Follow Share LR(0) then SLR(1), then CLR(1), then LALR(1). However SLR(1)$\subseteq$ LALR(1)$\subseteq$CLR(1) 0 votes 0 votes !KARAN commented Dec 3, 2018 reply Follow Share You need to find CLR first, because after finding it then you will be able to find whether the given grammar is LALR or not after merging of the 2 states having same lookahead. 0 votes 0 votes Please log in or register to add a comment.