edited by
8,604 views
29 votes
29 votes

Among simple LR (SLR), canonical LR, and look-ahead LR (LALR), which of the following pairs identify the method that is very easy to implement and the method that is the most powerful, in that order?

  1. SLR, LALR
  2. Canonical LR, LALR
  3. SLR, canonical LR
  4. LALR, canonical LR
edited by

2 Answers

Best answer
44 votes
44 votes

Answer is C.

SLR is the simplest to implement and Canonical LR is the most powerful.

http://en.wikipedia.org/wiki/LALR_parser_generator

edited by
–4 votes
–4 votes
Answer:B according to ace academy solutions

Anyone with the explanation why its not A?
Answer:

Related questions

24 votes
24 votes
2 answers
4
Kathleen asked Sep 25, 2014
12,847 views
Which of the following statements is true?SLR parser is more powerful than LALRLALR parser is more powerful than Canonical LR parserCanonical LR parser is more powerful t...