Abstract
Attributed translation grammars are introduced as a means of specifying a translation from strings of input symbols to strings of output symbols. Each of these symbols can have a finite set of attributes, each of which can take on a value from a possibly infinite set. Attributed translation grammars can be applied in depth to practical compiling problems.
Certain augmented pushdown machines are defined and characterizations are given of the attributed translations they can perform both deterministically and nondeterministically. Classes of attributed translation grammars are defined whose translation can be performed deterministically while parsing top down or bottom up.
A preliminary version of this paper was presented at the 1973 Fifth Annual ACM Symposium on the Theory of Computing.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
G. V. Bochman. Semantics evaluated from left to right. Technical report, Departement d’Informatique, Univ. de Montreal, 1973.
D. Crowe. Generating parsers for affix grammars. Comm. Assoc. Computing Mach., 15:728–734, 1972.
K. Culik. Attributed grammars and languages. Technical report, Departement d’Informatique, Univ. de Montreal, 1969.
D. Gries. Compiler Construction for Digital Computers. Wiley, New York, 1971.
M. A. Harrison and I. M. Havel. Strict deterministic grammars. J. Comput. System Sci., 7:237–277, 1973.
J. E. Hopcroft and J. D. Ullman. Formal Languages and Their Relation to Automata. Addison–Wesley, Reading, 1969.
E. T. Irons. A syntax directed compiler for ALGOL 60. Comm. Assoc. Comput. Mach., 4:51–55, 1961.
D. E. Knuth. On the translation of languages from left to right. Information and Control, 8:607–639, 1965.
D. E. Knuth. The Art of Computer Programming: Fundamental Algorithms, volume 1. Addison–Wesley, Reading, 1968.
D. E. Knuth. Semantics of context free languages. Math. Systems Theory, 2:127–145, 1968.
C. H. A. Koster. Affix grammars. In ALGOL 68 Implementation. North-Holland, Amsterdam, 1971.
P. M. Lewis and R. E. Stearns. Syntax directed transduction. J. Assoc. Comput. Mach., 15:465–488, 1968.
D. J. Rosenkrantz and R. E. Stearns. Properties of deterministic top-down grammars. Information and Control, 17:226–256, 1970.
R. E. Stearns and P. M. Lewis. Property grammars and table machines. Information and Control, 14:524–549, 1969.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer Science + Business Media B.V.
About this chapter
Cite this chapter
Lewis, P.M., Rosenkrantz, D.J., Stearns, R.E. (2009). Attributed Translations. In: Ravi, S.S., Shukla, S.K. (eds) Fundamental Problems in Computing. Springer, Dordrecht. https://doi.org/10.1007/978-1-4020-9688-4_2
Download citation
DOI: https://doi.org/10.1007/978-1-4020-9688-4_2
Publisher Name: Springer, Dordrecht
Print ISBN: 978-1-4020-9687-7
Online ISBN: 978-1-4020-9688-4
eBook Packages: Computer ScienceComputer Science (R0)