1.

Which is the most powerful parser?(a) SLR(b) LALR(c) Canonical LR(d) Operator-precedenceThe question was posed to me by my college professor while I was bunking the class.The origin of the question is Error Recovery in LR phase topic in chapter Error Handling of Compiler

Answer» CORRECT ANSWER is (c) CANONICAL LR

The EXPLANATION: Canonical tops all other parsers.


Discussion

No Comment Found

Related InterviewSolutions