Following are the production and the action.
- $L\rightarrow E \eta$
- $E \rightarrow \{ print('+'); \}E_1 + T$
- $E \rightarrow R$
- $E \rightarrow \{ print('+'); \}T_1 + F$
- $T\rightarrow F$
- $F\rightarrow (E)$
- $F\rightarrow \text{digit \{print (digit lexval)\} }$
This is syntax directed translation for
Reveal answer
Fill a bubble to check yourself