Which of the following statements about the parser is/are correct?
I. Canonical LR is more powerful than SLR. II. SLR is more powerful than LALR. III. SLR is more powerful than canonical LR.
(A) I only
(B) II only
(C) III only
(D) II and III only
Answer: (A)
Explanation: LR parsers in term of power
CLR > LALR > SLR > LR(0)
Therefore, Option A is only correct option.