Skip to main content

An Approach to the Derivation of Compiler Description Concepts from the Mathematical Semantics Concept

  • Conference paper
GI — 9. Jahrestagung

Part of the book series: Informatik-Fachberichte ((INFORMATIK,volume 19))

Abstract

This paper analyzes some characteristics of mathematical language definitions and compares them with the corresponding techniques used for describing compilers in the framework of existing compiler-compilers. This motivates a new compiler description concept based on attribute grammars. The concept allows compiler descriptions which can more easily proved to be correct with respect to an original mathematical definition of the language. On the other hand, a simple modification of known attribute evaluation methods assures an automatic generation of efficient compiler modules.

This research was carried out within the Sonderforschungsbereich 49 — Programmiertechnik — at the Technical University of Munich.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Babich, W.A., Jazayeri, M.: The method of attributes for data flow analysis, parts I, II, Acta Informatica 10 (1978), 2455–264,

    MathSciNet  Google Scholar 

  2. Babich, W.A., Jazayeri, M.: The method of attributes for data flow analysis, parts I, II, Acta Informatica 10 (1978), 265–272.

    Article  MathSciNet  MATH  Google Scholar 

  3. Bochmann, G.V.: Semantic evaluation from left to right. Comm. ACM, 19 (1976).

    Google Scholar 

  4. Chirica, L.M., Martin, D.F.: An algebraic formulation of Knuthian semantics. 17th IEEE Symp. on Foundations of Comp. Science, 1977, 127–136.

    Google Scholar 

  5. Cousot, P., Cousot, R.: Abstract interpretation: A unified lattice model for static analysis of programs by construction or approximation of fix-points. 4th ACM Symp. on Principles of Progr. Languages, 1977, 238–252.

    Google Scholar 

  6. Ganzinger, H.: On storage optimization for automatically generated compilers, Lecture Notes in Computer Science 67, Springer 1979, 132–141.

    MathSciNet  Google Scholar 

  7. Ganzinger, H.: From denotational semantics definitions to abstract compiler descriptions: Outlines of a strategy. Techn. Report, TUM-INFO, Techn. Univ. Munich, to appear in 1979.

    Google Scholar 

  8. Jazayeri, M., Walter, K.G.: Alternating semantic evaluator, Proc. ACM Ann. Conf., 1975, 230–234.

    Google Scholar 

  9. Knuth, D.E.: Semantics of context-free languages. Math. Systems Theory 2, (1968), 127–145.

    Article  MathSciNet  MATH  Google Scholar 

  10. Koster, C.H.A.: Affix grammars. In Peck, J.E.L. (ed.): ALGOL68 Implementation. North Holland, 1971, 95–109.

    Google Scholar 

  11. Lampson, B.W., Horning, J.J., London, R.L., Mitchell, J.G., Popek, G.L.: Report on the programming language EUCLID, ACM Sigplan Notices, 12, 2(1977).

    Google Scholar 

    Google Scholar 

  12. Pozefsky, D.P.: Building efficient pass-oriented attribute grammar evalua-tors. Univ. North Carolina at Chapel Hill, UNC TR 79–006, 1979.

    Google Scholar 

  13. Räihä, K.-J.: On attribute grammars and their use in a compiler writing system. Report A-1977-U, Dep. of Comp. Science, Univ. of Helsinki, Helsinki, 1977.

    Google Scholar 

  14. Räihä, K.-J.: Dynamic allocation of space for attribute instances in multipass evaluators of attribute grammars. Proc. SIGPLAN Symp. on Compiler Construction, Boulder, 1979.

    Google Scholar 

  15. Reynolds, J.C.: Definitional interpreters for higher-order programming languages. Proc. 25th ACM Annual Conf., 1972, 717–740.

    Google Scholar 

  16. Scott, D., Strachey, C.: Towards a mathematical semantics for computer languages. Techn. Mon. PRG-6, Oxford U. Comp. Lab., 1971.

    Google Scholar 

  17. Stoy, J.E.: Denotational semantics: The Scott-Strachey approach to programming language theory. The MIT Press, Cambridge, London, 1977.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1979 Springer-Verlag Berlin · Heidelberg

About this paper

Cite this paper

Ganzinger, H. (1979). An Approach to the Derivation of Compiler Description Concepts from the Mathematical Semantics Concept. 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_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-67444-0_19

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-09664-1

  • Online ISBN: 978-3-642-67444-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics