21 votes 21 votes Which of the following is the most powerful parsing method? LL (1) Canonical LR SLR LALR Compiler Design gate1999 compiler-design parsing easy + – Kathleen asked Sep 23, 2014 Kathleen 23.3k views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply ektan commented Aug 19, 2018 reply Follow Share Though it's not included in the question, where would operator precedence parser fit in the terms of power ? 0 votes 0 votes Pranavpurkar commented Nov 28, 2022 reply Follow Share ektan An operator-precedence parser is a simple shift-reduce parser that is capable of parsing a subset of LR(1) grammars. More precisely, the operator-precedence parser can parse all LR(1) grammars where two consecutive nonterminals and epsilon never appear in the right-hand side of any rule. https://en.wikipedia.org/wiki/Operator-precedence_parser#:~:text=An%20operator%2Dprecedence%20parser%20is,of%20LR(1)%20grammars. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes CLR is most powerful parsing method . clr>>lalr>>slr>>ll Thakur Ritik Rana answered Sep 4, 2017 Thakur Ritik Rana comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Ans: B Canonical LR rishu_darkshadow answered Oct 9, 2017 rishu_darkshadow comment Share Follow See all 0 reply Please log in or register to add a comment.