edited by
235 views
0 votes
0 votes

S --> id = E

E --> E + T / T

T --> T * F / F

F --> id 

S --> while E do SL

SL --> SLS /€

 

The above grammar is :

a) LL(1)

b) LR(0)

c) SLR(1)

d) LR(1)

edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
5 answers
2
Abhishek Malik asked Apr 5, 2018
1,316 views
Total number of Handles for $(w=aa)$ in the following grammar ?$S\rightarrow DT$$D\rightarrow aa$$T\rightarrow \epsilon$
1 votes
1 votes
0 answers
3
0 votes
0 votes
2 answers
4
pa-try asked Dec 5, 2017
571 views