retagged by
7,191 views
2 votes
2 votes

Choose the correct answer for following grammar
S → Aa | bAc | Bc | bBa
A → d
B → d

(A) It is LL(1), LALR(1), and CLR(1)
(B) LR(0), LALR(1), and CLR(1), but not SLR(1)
(C) It is CLR(1), but not LL(1), LR(0), SLR(1), LALR(1)
(D) It is LALR(1), and CLR(1)

retagged by

1 Answer

Related questions

0 votes
0 votes
1 answer
1
Utsav09 asked Jan 31, 2018
369 views
Consider the grammar given$S\rightarrow AA$$A\rightarrow aA / b$How many entries will be blank in the GOTO table for SR(0) items?
1 votes
1 votes
2 answers
2
Avdhesh Singh Rana asked Jan 25, 2018
1,381 views
Consider the grammar givenS->AAA->aA / bHow many entries will be blank in the GOTO table for SR(0) items?What is the meaning of SR(0) items?