Changing An ambiguous to unambiguous grammar
Closed
Posted
6 years ago
Paid on delivery
€8-30 EUR
Paid on delivery
Closed
Paid on delivery
I want to transform an ambiguous grammar to unambiguous one. You can find the first one in the file i have uploaded.
In order to do that you have 5 rules
1) * and / have the same priority
2)+ and - have the same priority
3) *and / have bigger priority that + and -
4)all ops have left associativity
5)the reduction of the first 4 rules is prefered unless it doesnt violate the associativity and priority of ops
Project ID: #16358622
About the project
1 proposal
Remote project
Active 6 years ago