1980 · 25 citations · 12 references
ComputingComputer ScienceCompilersEmbedded SystemsProgramming LanguagesCode GenerationCompiler ConstructionInterpreter DesignObject-oriented ProgrammingProgramming Language ImplementationSoftware ConstructionCompiler DesignCompiler SupportCompiler-based GenerationMachine Code GenerationPartial Evaluation
In INTERLISP we find a number of embedded languages such as the iterative statement and the pattern match facility in the CLISP package, the editor and makefile languages and so forth. We will in this paper concentrate on the problem of extending the LISP language and discuss a method to compile such extensions. We propose the language to be implemented through an interpreter (written in LISP) and that compilation of statements in such an embedded language is done through partial evaluation. The interpreter is partially evaluated with respect to the actual statements, and an object program in LISP is obtained. This LISP code can further be compiled to machine code by the standard LISP compiler.We have implemented the iterative statement and a CLISP-like pattern matcher and used a program manipulation system to generate object programs in LISP. Comparisons will be made with the corresponding INTERLISP implementations, which use special purpose compilers in order to generate the LISP code.
12
A Transformation System for Developing Recursive Programs
R. M. Burstall, John Darlington · Journal of the ACM · 1977 · 1.3K citations · Full text
Program Improvement by Source-to-Source Transformation
David B. Loveman · Journal of the ACM · 1977 · 215 citations · Full text
A partial evaluator, and its use as a programming tool
Lennart Beckman, Anders Haraldson, Östen Oskarsson et al. · Artificial Intelligence · 1976 · 109 citations
On the partial computation principle
A. P. Ershov · Information Processing Letters · 1977 · 102 citations
Goal-Directed Program Transformation
Ben Wegbreit · IEEE Transactions on Software Engineering · 1976 · 92 citations