Bounded context translation
Robert M. Graham · 1964
All translators are syntax-directed in the sense that the translator must obviously recognize the various syntactic structures and the output of the translator is a function of the syntax of the language. The term syntax-directed is usually applied to a translator which contains a direct encoding of the syntax of the language, this direct encoding being used by the translator as data. The companion paper by Cheatham and Sattley is concerned with this type of translation. In the other class of translators the syntax is essentially buried in the coding of the translator. Most of the algebraic languages in use are precedence grammars, or close enough so that the properties of precedence grammars are useful. Using the properties of precedence grammars, bounded context translation is possible. At each step in the scan of an expression in bounded context translation the decision as to what action to take next is a function of the symbol currently under scan and of N symbols on either side (where N is fixed for the particular language).
Cited by 23 works. doi:10.1145/1464122.1464125 Open-access PDF
References
- Report on the algorithmic language ALGOL 60
- Sequential formula translation
- Syntactic Analysis and Operator Precedence
- Sequential formula translation
- On GAT and the construction of translators
- Bounded context syntactic analysis
- A Descriptive Language for Symbol Manipulation
- An Algorithm for Translating Boolean Expressions
- Theoretical foundations for the computer-aided design system
- Syntax-directed compiling