200 views
1 votes
1 votes
E->number {E.val=number}

E->E+E {E.val=E1.val+E2.val}

E->E*E {E.val=E1.val*E2.val}

How it detects S/R conflict and resolves  the conflict infavour of shift over reduce action.

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
aditi19 asked Mar 29, 2019
464 views
What is the SDT to eliminate redundant parenthesis from infix expressions with * and +? what is the concept behind removal of redundant parenthesis and how to start?
2 votes
2 votes
0 answers
2
Aakash_ asked Nov 26, 2018
1,129 views
I think my answer is correct..please check. i got A , Given Answer is B Solution:
0 votes
0 votes
0 answers
3
0 votes
0 votes
0 answers
4