Social Sciences, asked by shashanktelang3444, 1 year ago

Difference between syntax directed translation and syntax directed definition

Answers

Answered by writersparadise
26
Syntax directed translation refers to the translation of a string into an array of actions. This is done by adding an action to a rule of context-free grammar. It is a type of compiler interpretation.

Syntax directed definition is a context-free grammar where attributes and rules are combined together and associated with grammar symbols and productions respectively.
Answered by praseethanerthethil
7

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.

Similar questions