edited by
1,360 views
3 votes
3 votes

Which of the following statements regarding LR parsers is WRONG?

  1. LR(1) does no guess work
  2. LR parsers can handle a large range of grammars than predictive parsers
  3. LR parsers can handle a large range of languages than predictive parsers
  4. LR parser is better at error reporting compared to LL ones
     
    1. Only (i)
    2. (i) and (iv)
    3. Only (iv)
    4. All are CORRECT
edited by

Please log in or register to answer this question.

Answer:

Related questions

4 votes
4 votes
2 answers
1
Arjun asked Jan 26, 2019
835 views
Suppose we have a rightmost derivation which proceeds as follows:$\begin{array}{ccc}S &\rightarrow & Aabw \\ & \rightarrow &ABw \end{array}$Which of the following is a po...
6 votes
6 votes
2 answers
4
Arjun asked Jan 26, 2019
1,691 views
If we merge states in LR(1) parser to form a LALR(1) parser, we may introduceshift-reduce conflictreduce-reduce conflictno extra conflictboth shift-reduce as well as redu...