meaning of syntax directed translation

1. syntax directed translation A technique where the structure of a language processor e. g. compiler is based on the structure of the languages abstract syntax. There might be one procedure in the translator corresponding to each category in the abstract syntax. That procedure is responsible for processing constructs of that category. Each procedure would call others corresponding to the constructs subconstituents and then combine their results to give the overall result for that construct. Syntax/Semantic Language S/SL A high level specification language for recursive descent parsers developed by J. R. Cordy queensu. ca> and R. C. Holt ca> at the University of Toronto in 1980. S/SL is a small language that supports cheap recursion and defines input, output, and error token names & values, semantic mechanisms class interfaces whose methods are really escapes to routines in a host programming language but allow good abstraction in the pseudo-code and a pseudo-code program that defines the syntax of the input language by the token stream the program accepts. Alternation, control flow and one-symbol look-ahead constructs are part of the language. The S/SL processor compiles this pseudo-code into a table


Related Words

syntax directed translation |

Developed & Maintained By Taraprasad.com

Treasure Words