retagged by
484 views
0 votes
0 votes
Given the grammar $E->E+E/E^*E/a$   you are required to remove the ambiguity.
retagged by

1 Answer

1 votes
1 votes

Equvalent unambiguous grammar is

S---->S+T/T

T----->T*F/F

F----->a

Related questions

0 votes
0 votes
1 answer
1
Sourav_35 asked May 27, 2018
413 views
Construct a NFA for $r=(11+0)^*(00+1)^*$
4 votes
4 votes
0 answers
2
Sourav_35 asked May 31, 2018
885 views
A 30% enhancement in speedup for a component of the processor has been proposed for a new architecture.If the enhancement is usable only for 50% for the time,what is the ...
0 votes
0 votes
1 answer
3
maitrey vats asked May 5, 2018
1,677 views
instruction execution throughput increases in proportion with the number of pipeline stages ? is it true justify ?