Skip to main content

Towards a "middle road" methodology for writing code generators

  • Logic Programming In Compiler Writing
  • Conference paper
  • First Online:
  • 167 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 348))

Abstract

We describe a simple experiment in using Prolog for the code selection part of a code generator. The results suggest a new methodological approach that could be generally useful in compiler writing/retargeting undertakings.

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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aho, A.V.; Ullman, J.D.: Principles of Compiler Design. Addison-Wesley, Reading, MA 1976

    Google Scholar 

  2. Aho, A.V.; Sethi, R.; Ullman, J.D.: Compilers: Principles, Techniques and Tools. Addison-Wesley, Reading, MA 1986

    Google Scholar 

  3. Cattell, R.G.G.: Formalization and Automatic Derivation of Code Generators. Ph.D. Thesis, Dept. of Computer Science, Carnegie-Mellon University, April 1978

    Google Scholar 

  4. Colmerauer, A.: Les grammaires de métamorphose. Groupe d'Intelligence Artificielle, Université d'Aix-Marseille, 1975 (English version: Metamorphosis Grammars. In L. Bolc (ed.): Natural Language Communication with Computer. Springer-Verlag, Berlin and Heidelberg 1978)

    Google Scholar 

  5. Leverett, B.W.; Cattell, R.G.G.; Hobbs, S.O.; Newcomer, J.M.; Reiner, A.H.; Schatz, B.R.; Wulf, W.A.: An Overview of the Production-Quality Compiler Compiler Project. Computer 13:8, 38–49

    Google Scholar 

  6. Warren, D.H.D.: Logic Programming and Compiler Writing. Software Practice and Experience 10 (2), 97–125

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

P. Deransart B. Lorho J. Małuszyński

Rights and permissions

Reprints and permissions

Copyright information

© 1989 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kluźniak, F., Miłkowska, M. (1989). Towards a "middle road" methodology for writing code generators. In: Deransart, P., Lorho, B., Małuszyński, J. (eds) Programming Languages Implementation and Logic Programming. PLILP 1988. Lecture Notes in Computer Science, vol 348. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-50820-1_43

Download citation

  • DOI: https://doi.org/10.1007/3-540-50820-1_43

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-50820-5

  • Online ISBN: 978-3-540-46092-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics