Back to the 2023 paper

Module 3 : Semantic Analysis & Symbol Table

20237m

Construct a syntax-directed translation scheme that translates arithmetic expressions from infix notation into prefix notation. Give annotated parse trees for the inputs 95+29 - 5 + 2 and 9529 - 5 * 2.

Similar questions