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 9−5+29 - 5 + 2 and 9−5∗29 - 5 * 2.

Similar questions

Budget AppAndroid App

Pocketly on Android

Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.