Question: what is the difference between syntax directed definition and syntax directed translation?
Answer: Syntax directed translation refers to the translation of a string into an array of actions. ... Syntax directed definition is a context-free grammar where attributes and rules are combined together and associated with grammar symbols and productions respectively.