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.
References
Aho, A.V.; Ullman, J.D.: Principles of Compiler Design. Addison-Wesley, Reading, MA 1976
Aho, A.V.; Sethi, R.; Ullman, J.D.: Compilers: Principles, Techniques and Tools. Addison-Wesley, Reading, MA 1986
Cattell, R.G.G.: Formalization and Automatic Derivation of Code Generators. Ph.D. Thesis, Dept. of Computer Science, Carnegie-Mellon University, April 1978
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)
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
Warren, D.H.D.: Logic Programming and Compiler Writing. Software Practice and Experience 10 (2), 97–125
Author information
Authors and Affiliations
Editor information
Rights 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