Abstract
This paper recalls the definition of attribute grammars. To give a first impression of the applicability and the power of attribute grammars two examples are given which describe the type-determination problem for simple arithmetic expressions. Also, Knuth's circularity test for attribute grammars is described.
Preview
Unable to display preview. Download preview PDF.
References
Chebotar, K.S.: Some modifications of Knuth's algorithm for verifying cyclicity of attribute grammars. Programming and Computer Software 7, (1981), pp. 58–61.
Deransart, P., Jourdan, M. and Lorho, B.: Speeding up circularity tests for attribute grammars. Acta Informatica 21 (1984), pp. 375–391.
Deransart, P., Jourdan, M. and Lorho, B.: Attribute grammars, Definitions, Systems and Bibliography. Lecture Notes in Computer Science 323, Springer (1988).
Engelfriet, J. and Filè, G.: The formal power of one-visit attribute grammars. Acta Informatica 16 (1981), pp. 275–302.
Jazayeri, M.: A simpler construction for showing the intrinsically exponential complexity of the circularity problem for attribute grammars. Journ. ACM 28, (1981), pp. 715–720.
Jazayeri, Ogden, W.F. and Rounds, W.C.: On the complexity of circularity tests for attribute grammars. In: Proc. 2nd ACM Symposium on Principles of Programming Languages (1975), pp. 119–129.
Jazayeri, Ogden, W.F. and Rounds, W.C.: The intrinsically exponential complexity of the circularity problem for attribute grammars. Comm. ACM 18 (1975), pp. 679–706.
Jourdan, M. and Parigot, D.: More on speeding up circularity tests for attribute grammars. INRIA Rapports de Recherche No. 828 (1988).
Knuth, D.E.: The Art of Computer Programming, Vol. 1, Fundamental Algorithms. Addison Wesley (1968).
Knuth, D.E.: Semantics of context-free languages. Math. Systems Theory 2 (1968), pp. 127–145.
Knuth, D.E.: Semantics of context-free languages, Correction. Math. Systems Theory 5 (1971), pp. 95–96.
Lorho, B. and Pair, C.: Algorithms for checking consistency of attribute grammars. In: Proving and Improving Programs, Symposium IRIA, Rocquencourt (1985), pp. 29–54.
Räihä, K.-J. and Saarinen, M.: An optimization of the alternating semantic evaluator. Information Processing Letters 6 (1977), pp. 97–100.
Wilhelm, R.: Attributierte Grammatiken. In: Informatik Spektrum 2 (1979), pp. 123–130.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Alblas, H. (1991). Introduction to attribute grammars. 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_1
Download citation
DOI: https://doi.org/10.1007/3-540-54572-7_1
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