1 Answers

Option 3 : SLR, canonical LR

[ alt="CS SET 3 GATE 2015 Solutions images Q5" src="//storage.googleapis.com/tb-img/production/17/05/CS_SET_3_GATE_2015_Solutions_images_Q5.PNG" style="height:219px; width:282px">

Power: LR(0) < SLR(1) < LALR(1) < CLR(1)

Implementation complexity:

LR(0) < SLR(1) < LALR(1) < CLR(1)

Hence out of given options, SLR is

Easiest to implement and CLR is most powerful.

6 views

Related Questions