1,743 views
1 votes
1 votes

Given solution:

After reducing two 1's of expression to E, E*E should be reduced not the 3rd 1. So final output will be 112*311+2 instead of the given output. Please check.

1 Answer

1 votes
1 votes

Related questions

2 votes
2 votes
1 answer
1
Purple asked Jan 27, 2016
632 views
In the above grammar,1. how to determine the precedence of the operator?2. If there is shift and reduce conflict, in who's favor to resolve?3. Why are we not reducing E >...
0 votes
0 votes
1 answer
2
Sourabh Kumar asked Jan 14, 2016
351 views
0 votes
0 votes
2 answers
4
sripo asked Nov 1, 2018
2,286 views
S→(XS→E]S→E)X→E)X→E]E→ϵIs this grammar CLR(1)? The answer says it is but I find a shift reduce conflict for E- epsilon with lookup symbols ),]