A$\rightarrow$BCC $\rightarrow$ + B {print ('+'); }C|$\epsilon$ B$\rightarrow$ D* B {print ('*')i}|D D$\rightarrow$ (A)|id {print (id.value); } For an input '5 + 6*7' this translation scheme prints
Reveal answer
Fill a bubble to check yourself