Implementation of Syntax directed translation
Syntax direct translation is implemented by constructing a parse tree and performing the actions in a left to right depth first order.
SDT is implementing by parse the input and produce a parse tree as a result.
Parse tree for SDT:
Fig: Parse tree