retagged by
603 views

2 Answers

Best answer
1 votes
1 votes

Answered by gabber:

For LL(1) :

First(T+E) ⋂⋂ First(T) = PHI

 {a }  ⋂⋂ {a} != PHI 

SO not LL(1).

0 votes
0 votes
Is it a ? Its not LL 1 as first of E one will have conflict of two production s.To chk SLR1 we can construct canonical collections and then chk.

Related questions

0 votes
0 votes
2 answers
1
rahul sharma 5 asked Oct 17, 2017
8,451 views
The productionsE - E+E | E-E | E*E | ida:) generates inherently ambiguous languagesb:) generates and ambiguous languagec:) is an ambiguous grammerd) none of these
2 votes
2 votes
1 answer
2
0 votes
0 votes
2 answers
3
thor asked Nov 15, 2016
419 views
Whether Grammar $S \rightarrow SS/ab$ ambiguous ? Please derive some strings?
0 votes
0 votes
1 answer
4