Abstract
Affix Grammars are members of the family of Two-Level Grammars, along with W-grammars, Metamorphosis Grammars and Attribute Grammars. In this tutorial we shall be concerned with the nature and rationale of Affix Grammars and their application in describing programming languages. Some parsing and affix evaluation methods for deterministic and nondeterministic Affix Grammars are discussed. By means of an example, a comparison is made with W-grammars and Attribute Grammars.
Visiting the Technical University of Budapest on a TEMPUS-grant.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
R. op den Akker, Parsing Attribute Grammars. PhD thesis, University of Twente, 1988.
R. op den Akker, B. Melichar and J. Tarhio, Attribute Evaluation and Parsing. This volume.
H. Alblas, Attribute Evaluation methods. This volume.
M. Bayer et al., Software Development in the CDL2 Laboratory. In: H. Hünke (ed.), Software Engineering Environments, North Holland Publ. Cy., 1981.
J. Beney and J.F. Boulicaut, Starlet: Un langage pour une programmation logique fiable. In Actes Séminaire CNET de Programmation Logique, 455–482, Trégastel, May 1986. In French.
R.W. Bemer, A politico-social history of Algol. Annual Review in Automatic Programming 5, 1969.
J. Cleaveland and R. Uzgalis, Grammars for Programming Languages: what every programmer should know about grammar. Elsevier, 1975.
A. Colmerauer, Metamorphosis Grammars. In: L. Bolc (ed.), Natural Language Communication with computers, Springer-Verlag, Berlin, 133–189, 1978.
P. Deransart and M. Jourdan (Eds.), Attribute Grammars and their Applications, Lecture Notes in Computer Science 461, Springer, 1990.
B. Dömölki and P. Szeredi, prolog in practice. In: R.E.A. Mason (ed.), Information Processing 83, North Holland Publ. Cy., 1983.
D. Grune, On the Design of Aleph. PhD thesis, Universiteit van Amsterdam, September 1982.
I.M. Kipps, Experience with Porting Techniques on a cobol 74 Compiler. In: Proceedings of the sigplan 82 Symposium on Compiler Construction, Boston, June 1982.
D.E. Knuth, Semantics of context-free languages. Mathematical Systems Theory, 2, 127–145, February 1968.
C.H.A. Koster, Affix Grammars. In: J.E.L. Peck (ed.), Algol 68 Implementation, 95–109. North-Holland Publishing Company, Amsterdam, 1971.
C.H.A. Koster, Using the cdl Compiler Compiler. In: F.L. Bauer and J. Eickel (eds.), Compiler Construction: An Advanced Course, Lecture Notes in Computer Science 21, 366–426, Springer 1975.
C.H.A. Koster, A technique for parsing ambiguous grammars. In: D. Siefkes (ed.), GI-4. Jahrestagung, Lecture Notes in Computer Science 26, pages 233–246, Springer, 1975.
F.E. J. Kruseman Aretz, On a recursive ascent parser. Information Processing Letters, 29, 201–206, 1988.
J. Małuszyński, Towards a Programming Language based on the Notion of two-level Grammar. Theoretical Computer Science, 28, 13–43, 1984.
L.G.L.T. Meertens and C.H.A. Koster, Basic English, a generative grammar for a part of English. In Euratom Seminar “Machine en Talen”, Amsterdam, 1962.
H. Meijer, Programmar: A Translator Generator. PhD thesis, Katholieke Universiteit Nijmegen, 1986.
H. Meijer, The Project on Extended Affix Grammars at Nijmegen. In: [9].
M.P.G. Moritz, Description and Analysis of Static Semantics by Fixed-Point Equations. PhD thesis, Katholieke Universiteit Nijmegen, 1989.
P. Naur et al., Report on the Algorithmic Language Algol 60. Communications of the ACM, Vol. 6, 1–17, 1960.
F.G. Pagan, Formal Specification of Programming Languages: a Panoramic Primer. Prentice Hall, 1981.
W.M. Waite, Use of Attribute Grammars in Compiler Construction. In: [9].
K. Walk et al., Abstract Syntax and Interpretation of PL/1. Technical Report TR 25.082, IBM Laboratory Vienna, June 1968.
D.A. Watt, Analysis-Oriented Two-Level Grammars. PhD thesis, University of Glasgow, January 1974.
D.A. Watt and O.L. Madsen, Extended Attribute Grammars. The Computer Journal 26,2, 1983.
A. van Wijngaarden, Orthogonal Design and Description of a Formal Language. Report MR76, Mathematisch Centrum, Amsterdam, 1965.
A. van Wijngaarden, B.J. Mailloux, J.E.L. Peck, C.H.A. Koster, M. Sintzoff, C.H. Lindsey, L.G.L.T. Meertens, and R.G. Fisker, (eds.), Revised Report on the Algorithmic Language Algol 68, Acta Informatica 5, 1975.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Koster, C.H.A. (1991). Affix grammars for programming languages. 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_13
Download citation
DOI: https://doi.org/10.1007/3-540-54572-7_13
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