ABSTRACT
Code generation has withstood attempts at automation for some time. This paper describes a non-procedural, problem-oriented language for expressing a code generator. The basis for the language is the description of the target machine as a finite-state automaton. An example code generator for a subset of HAL/S to Intel 8080 machine language is given.
- 1.Donegan, Michael K. An Approach to the Automatic Generation of Code Generators. PhD Thesis, Rice University, 1973. Google ScholarDigital Library
- 2.Elson, M., and Rake, S. T. Code-generation technique for large-language compilers. IBM Sys. J., 9 (1970), pp. 166-188.Google ScholarDigital Library
- 3.Glanville, R. Steven, and Graham, Susan L. A new method for compiler code generation. Fifth ACM Synposium on Prin. of Prog. Lang., 1978, pp. 231-240. Google ScholarDigital Library
- 4.HAL/S Language Specification. Technical Report IR-61-6, Intermetrics, (March, 1975).Google Scholar
- 5.Miller, Perry L. Automatic Creation of a Code Generator from a Machine Description. Technical Report TR-85, Project MAC, M. I. T., 1971. Google ScholarDigital Library
- 6.Wilcox, Thomas R. Generating Machine Code for High-Level Programming Languages. PhD Thesis, Cornell Univ., 1971. Google ScholarDigital Library
Index Terms
- A code generator generator language
Recommendations
A code generator generator language
Proceedings of the 1979 SIGPLAN symposium on Compiler constructionCode generation has withstood attempts at automation for some time. This paper describes a non-procedural, problem-oriented language for expressing a code generator. The basis for the language is the description of the target machine as a finite-state ...
An implementation of a code generator specification language for table driven code generators
Proceedings of the 1982 SIGPLAN symposium on Compiler constructionThis paper discusses an implementation of Glanville's code generator generator for producing a code generator for a production Pascal compiler on an Amdahl 470.
We successfully replaced the hand written code generator of an existing compiler with one ...
Comments