syntax directed translation

syntax directed translation

A technique where the structure of a language processor (e.g. acompiler) is based on the structure of the language'sabstract syntax. There might be one procedure in thetranslator corresponding to each category in the abstractsyntax. That procedure is responsible for processingconstructs of that category. Each procedure would call otherscorresponding to the construct's subconstituents and thencombine their results to give the overall result for thatconstruct.