recategorized by
7,721 views
20 votes
20 votes

Which of the following statements about parser is/are CORRECT?

  1. $\text{Canonical LR}$ is more powerful than $\text{SLR}$
  2. $\text{SLR}$ is more powerful than $\text{LALR}$
  3. $\text{SLR}$ is more powerful than $\text{Canonical LR}$
  1. I only
  2. II only
  3. III only
  4. II and III only
recategorized by

8 Answers

Best answer
32 votes
32 votes

For a parser more power means it can parse more strings. So, here only the first statement is correct.

Correct Answer: $A$

edited by
Answer:

Related questions

39 votes
39 votes
5 answers
1
Madhav asked Feb 14, 2017
9,518 views
Match the following according to input (from the left column) to the compiler phase (in the right column) that processes it:$$\begin{array}{|l|l|}\hline \text{P. Syntax t...