edited by
8,431 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
43 votes
43 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