Abstract
Considerable effort has been devoted to finding restricted classes of syntax directed translators usually being based on deterministic parsing techniques.
For a language the semantics of which does not fit into such a restriction, this has the infavourable effect that the association of the semantic evaluation with the syntax becomes more complicated and obscure.
To achieve a balance between efficiency and power, we combine partitioned grammars with nondeterminacy restricted to partial grammars. The partitioning of grammars moreover suggests the association of different strategies with different partial grammars. This admits the local adjustment of parsing strategies to the respective constructs of a programming language.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
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:
Revised report on the algorithmic language Algol 68. ISBN 3-540-07592-5, Springer-Verlag Berlin/Heidelberg/New York (1976).
J.P. Dehottay, C.H.A. Koster and H.M. Stahl: Syntaktische Beschreibung von CDL2. Bericht der Forschungsgruppe PC2, FB 20 der Technischen Universität Berlin (1978).
H. Ganzinger: Modifizierte attributierte Grammatiken. TR Nr. 7420, Technische Universität München.
M. Jazayeri: On Attribute Grammars and the Semantic Specification of Programming Languages. Report No. 1159, Case Western Reserve University (1974).
U. Kastens: Ein übersetzer-erzeugendes System auf der Basis attributierter Grammatiken. Interner Bericht Nr. 10 der Fakultät f. Informatik, Universität Karlsruhe (1976).
D.E. Knuth: Semantics of context free languages. Math. Sytems Theory, vol.2, no. 2 (1968), pp. 127–145.
C.H.A. Koster: Affix grammars. Algol 68 Implementation, ed. J.E.L. Peck, North-Hollang Publishing Co. Amsterdam-London (1971), pp. 95–109.
C.H.A. Koster: A technique for parsing ambiguous languages. Lecture notes in computer science, GI 4. Jahrestagung, vol. 26, ISBN 3-540-07141-5, Springer-Verlag Berlin/Heidelberg/New York (1974), pp. 233–246.
C.H.A. Koster: Two-level grammars. Lecture notes in computer science 21, Compiler Construction, ISBN 3-540-06958-5 Springer-Verlag Berlin/ Heidelberg/New York (1974), pp. 146–156.
B. Krämer: ECDL — eine Compiler-Implementationssprache auf der Basis zweischichtiger Grammatiken. Tagungsband des Fachgesprächs Compiler-Compiler in Berlin, ed. W. Henhapl, TH Darmstadt, Fachbereich Informatik (1978)
B. Krämer, H.W. Schmidt: On the implementation of van Wijngaarden Grammars, Part I: Informal introduction to conjugation grammars. IST-Report No. 44, Institut für Software-Technologie, Gesellschaft für Mathematik und Datenverarbeitung D-5205 St. Augustin (1978).
B. Krämer, H.W. Schmidt: Syntactic description of ECDL. Internal Report 1/78, Institut für Software-Technologie, Gesellschaft für Mathematik und Datenverarbeitung D-5205 St. Augustin (1978).
G. Lindstrom: Control Structure Aptness: A Case Study Using Top-Down Parsing. Proceedings of the third international conference on software engineering Atlanta, Georgia (1978), pp. 5–12.
M. Marcotty, H.F. Ledgard and G.V. Bochmann: A sampler of formal definitions. Computing surveys, vol. 8, no. 2 (1976), pp. 191–276.
H.W. Schmidt, P. Schmitz: Parser-Erzeugung für Conjugations-Grammatiken. Institut für Software-Technologie, Gesellschaft für Mathematik und Datenverarbeitung D-5205 St. Augustin (to be published).
F. Schwenkel: Partitioned grammars and syntax analyzers. Lecture notes of economics and math, systems, 1. GI-Fachtagung Programmiersprachen, vol. 75, Springer-Verlag Berlin/Heidelberg/New York (1975), pp. 114-139.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1979 Springer-Verlag Berlin · Heidelberg
About this paper
Cite this paper
Krämer, B., Schmidt, H.W. (1979). Locally Nondeterministic and Hybrid Syntax Analyzers from Partitioned Two-Level Grammars. In: Böhling, K.H., Spies, P.P. (eds) GI — 9. Jahrestagung. Informatik-Fachberichte, vol 19. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-67444-0_18
Download citation
DOI: https://doi.org/10.1007/978-3-642-67444-0_18
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-09664-1
Online ISBN: 978-3-642-67444-0
eBook Packages: Springer Book Archive