Abstract
Attribute grammar (AG) specifications are implemented by attribute evaluators which perform computations on tree structures as specified. An AG system should concentrate on generating that implementation. In compiler construction the attribute evaluator has to be combined with other modules, like scanner, parser, tree construction, data bases, and translation modules. Those are generated by other compiler tools, taken from a library, or implemented for the specific application. These components have to fit together properly on the specification level as well as on the level of module interfaces. In this paper those relationships are demonstrated using the LIGA system within the compiler construction environment Eli as an example.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
American National Standards Institute, Reference Manual for the Ada Programming Language, ANSI/MIL-STD 1815, 1983.
American National Standards Institute, Programming Language PASCAL, ANSI/IEEE 770 X3.97-1983, 1983.
Clemm, G. M., The Odin Specification Language, in International Workshop on Software Version and Configuration Control '88, Teubner, Stuttgart, 1988.
Dencker, P., Dürre, K. and Heuft, J., Optimization of Parser Tables for Portable Compilers, ACM Transactions on Programming Languages and Systems 6 (October 1984), 546–572.
Department of Electrical and Computer Engineering, University of Colorado, Eli Documentation, Technical Report, Boulder, CO, 1991.
Gray, R. W., Heuring, V. P., Krane, S. P., Sloane, A. M. and Waite, W. M., Eli: A Complete, Flexible Compiler Construction System, Department of Electrical and Computer Engineering, University of Colorado, SEG 89-1-1, Boulder, CO, June 1989.
Heuring, V. P., The Automatic Generation of Fast Lexical Analyzers, Software — Practice & Experience 16 (September 1986), 801–808.
Kastens, U., LIGA: A Language Independent Generator for Attribute Evaluators, Universität-GH Paderborn, Bericht der Reihe Informatik Nr. 63, 1989.
Kastens, U., Übersetzerbau, Handbuch der Informatik, Oldenbourg Verlag, München, 1990.
Kastens, U., Attribute Grammars as a Specification Method, Proceedings of the International Summer School on Attribute Grammars, Application and Systems, Prague (1991).
Kastens, U., Code Generation Based on Operator Identification, Universität-GH Paderborn, Reihe Informatik, Bericht Nr. 49, Januar 1988.
Kastens, U., Hutt, B. and Zimmermann, E., GAG: A Practical Compiler Generator, Lecture Notes in Computer Science, vol. 141, Springer Verlag, Heidelberg, 1982.
Kastens, U. and Waite, W. M., An Abstract Data Type for Name Analysis, accepted for publication in Acta Informatica, 1990.
Lamb, D. A., IDL: Sharing Intermediate Representations, ACM Transactions on Programming Languages and Systems 9 (1987), 297–318.
Persch, G., Winterstein, G., Dausmann, M. and Drossopoulou, S., Overloading in Ada, Fakultät für Informatik, Universität Karlsruhe, Bericht 23/79, Karlsruhe, BRD, 1979.
Prott, K-J., Effiziente LALR(1)-Analyse mit Bestimmung sicherer Anknüpfungspositionen in einem Parsergenerator, Universität-GH Paderborn, Diplomarbeit, 1989.
Waite, W. M. and Goos, G., Compiler Construction, Springer Verlag, New York, NY, 1984.
Waite, W. M., Heuring, V. P. and Kastens, U., Configuration Control in Compiler Construction, in International Workshop on Software Version and Configuration Control '88, Teubner, Stuttgart, 1988.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Kastens, U. (1991). Attribute grammars in a compiler construction environment. In: Alblas, H., Melichar, B. (eds) Attribute Grammars, Applications and Systems. SAGA School 1991. Lecture Notes in Computer Science, vol 545. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-54572-7_15
Download citation
DOI: https://doi.org/10.1007/3-540-54572-7_15
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-54572-9
Online ISBN: 978-3-540-38490-8
eBook Packages: Springer Book Archive