in Compiler Design retagged by
153 views
0 votes
0 votes
S -> L = R
S -> R
L -> * R
L -> id
R -> L
Is given CFG LR(0) & SLR(1)?
in Compiler Design retagged by
153 views

1 Answer

0 votes
0 votes

I think yes it’s both SLR(1) & LR(0)

Correct it if any mistake exists!!

4 Comments

Answer

0
0
Oh yes right

I forgot to take R part on I0

thank you!
1
1
Its neither
0
0