The following grammar is an unambiguous version of the underlying grammar in Fig. 5.22. The braces {} are used only for grouping boxes, and are eliminated during translation.
![](https://test.transtutors.com/qimg/79031677-c516-45da-a852-ecadab4f2dd4.png)
a) Adapt the syntax-directed definition in Fig. 5.22 to use the above grammar.
b) Convert the syntax-directed definition or (a) into a translation scheme.
Fig. 5.22 ![](https://test.transtutors.com/qimg/4bf6026f-c4cb-44ed-93ff-4a64709e5ce9.png)