Mix: A Self-Applicable Partial Evaluator for Experiments in Compiler Generation. Jones, N. D., Sestoft, P., & Søndergaard, H. Lisp and Symbolic Computation, 2(1):9–50, 1989. doi abstract bibtex The program transformation principle called partial evaluation has interesting applications in compilation and compiler generation. Self-applicable partial evaluators may be used for transforming interpreters into corresponding compilers and even for the generation of compiler generators. This is useful because interpreters are significantly easier to write than compilers, but run much slower than compiled code. A major difficulty in writing compilers (and compiler generators) is the thinking in terms of distinct binding times: run time and compile time (and compiler generation time). The paper gives an introduction to partial evaluation and describes a fully automatic though experimental partial evaluator, called mix, able to generate stand-alone compilers as well as a compiler generator. Mix partially evaluates programs written in Mixwell, essentially a first-order subset of statically scoped pure Lisp. For compiler generation purposes it is necessary that the partial evaluator be self-applicable. Even though the potential utility of a self-applicable partial evaluator has been recognized since 1971, a 1984 version of mix appears to be the first successful implementation. The overall structure of mix and the basic ideas behind its way of working are sketched. Finally, some results of using a version of mix are reported.
@Article{Jon-Ses-Son_LASC89,
author = {Neil D. Jones and
Peter Sestoft and
Harald S{\o}ndergaard},
title = {Mix: A Self-Applicable Partial Evaluator for Experiments in
Compiler Generation},
journal = {Lisp and Symbolic Computation},
volume = {2},
number = {1},
pages = {9--50},
year = {1989},
doi = {10.1007/BF01806312},
abstract = {The program transformation principle called partial
evaluation has interesting applications in compilation
and compiler generation. Self-applicable partial evaluators
may be used for transforming interpreters into corresponding
compilers and even for the generation of compiler generators.
This is useful because interpreters are significantly easier
to write than compilers, but run much slower than compiled
code. A major difficulty in writing compilers (and compiler
generators) is the thinking in terms of distinct binding
times: run time and compile time (and compiler generation
time). The paper gives an introduction to partial
evaluation and describes a fully automatic though
experimental partial evaluator, called mix, able to generate
stand-alone compilers as well as a compiler generator.
Mix partially evaluates programs written in Mixwell,
essentially a first-order subset of statically scoped pure
Lisp. For compiler generation purposes it is necessary
that the partial evaluator be self-applicable. Even though
the potential utility of a self-applicable partial evaluator
has been recognized since 1971, a 1984 version of mix
appears to be the first successful implementation.
The overall structure of mix and the basic ideas behind its
way of working are sketched. Finally, some results of using
a version of mix are reported.},
keywords = {Partial evaluation, Program transformation, Compilation},
}
Downloads: 0
{"_id":"D9ako55RsaujRYAhe","bibbaseid":"jones-sestoft-sndergaard-mixaselfapplicablepartialevaluatorforexperimentsincompilergeneration-1989","author_short":["Jones, N. D.","Sestoft, P.","Søndergaard, H."],"bibdata":{"bibtype":"article","type":"article","author":[{"firstnames":["Neil","D."],"propositions":[],"lastnames":["Jones"],"suffixes":[]},{"firstnames":["Peter"],"propositions":[],"lastnames":["Sestoft"],"suffixes":[]},{"firstnames":["Harald"],"propositions":[],"lastnames":["Søndergaard"],"suffixes":[]}],"title":"Mix: A Self-Applicable Partial Evaluator for Experiments in Compiler Generation","journal":"Lisp and Symbolic Computation","volume":"2","number":"1","pages":"9–50","year":"1989","doi":"10.1007/BF01806312","abstract":"The program transformation principle called partial evaluation has interesting applications in compilation and compiler generation. Self-applicable partial evaluators may be used for transforming interpreters into corresponding compilers and even for the generation of compiler generators. This is useful because interpreters are significantly easier to write than compilers, but run much slower than compiled code. A major difficulty in writing compilers (and compiler generators) is the thinking in terms of distinct binding times: run time and compile time (and compiler generation time). The paper gives an introduction to partial evaluation and describes a fully automatic though experimental partial evaluator, called mix, able to generate stand-alone compilers as well as a compiler generator. Mix partially evaluates programs written in Mixwell, essentially a first-order subset of statically scoped pure Lisp. For compiler generation purposes it is necessary that the partial evaluator be self-applicable. Even though the potential utility of a self-applicable partial evaluator has been recognized since 1971, a 1984 version of mix appears to be the first successful implementation. The overall structure of mix and the basic ideas behind its way of working are sketched. Finally, some results of using a version of mix are reported.","keywords":"Partial evaluation, Program transformation, Compilation","bibtex":"@Article{Jon-Ses-Son_LASC89,\n author = {Neil D. Jones and \n\t\tPeter Sestoft and \n\t\tHarald S{\\o}ndergaard},\n title = {Mix: A Self-Applicable Partial Evaluator for Experiments in\n\t\tCompiler Generation},\n journal = {Lisp and Symbolic Computation},\n volume = {2},\n number = {1},\n pages = {9--50},\n year = {1989},\n doi = {10.1007/BF01806312},\n abstract = {The program transformation principle called partial \n\t\tevaluation has interesting applications in compilation\n\t\tand compiler generation. Self-applicable partial evaluators\n\t\tmay be used for transforming interpreters into corresponding\n\t\tcompilers and even for the generation of compiler generators.\n\t\tThis is useful because interpreters are significantly easier\n\t\tto write than compilers, but run much slower than compiled\n\t\tcode. A major difficulty in writing compilers (and compiler\n\t\tgenerators) is the thinking in terms of distinct binding\n\t\ttimes: run time and compile time (and compiler generation\n\t\ttime). The paper gives an introduction to partial\n\t\tevaluation and describes a fully automatic though \n\t\texperimental partial evaluator, called mix, able to generate\n\t\tstand-alone compilers as well as a compiler generator.\n\t\tMix partially evaluates programs written in Mixwell,\n\t\tessentially a first-order subset of statically scoped pure\n\t\tLisp. For compiler generation purposes it is necessary\n\t\tthat the partial evaluator be self-applicable. Even though\n\t\tthe potential utility of a self-applicable partial evaluator\n\t\thas been recognized since 1971, a 1984 version of mix\n\t\tappears to be the first successful implementation.\n\t\tThe overall structure of mix and the basic ideas behind its\n\t\tway of working are sketched. Finally, some results of using\n\t\ta version of mix are reported.},\n keywords = {Partial evaluation, Program transformation, Compilation},\n}\n\n","author_short":["Jones, N. D.","Sestoft, P.","Søndergaard, H."],"key":"Jon-Ses-Son_LASC89","id":"Jon-Ses-Son_LASC89","bibbaseid":"jones-sestoft-sndergaard-mixaselfapplicablepartialevaluatorforexperimentsincompilergeneration-1989","role":"author","urls":{},"keyword":["Partial evaluation","Program transformation","Compilation"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"article","biburl":"https://people.eng.unimelb.edu.au/harald/bibbase.bib","dataSources":["yWvm3kzg5vKQAPLm7","ofmsZryxNDBSpE7j5","9aC4cxLD8D6oJ3FLN","wpkuJrZJJtqra3FbL","W7ih7WyQivP4EDh83","BNGFBQQncqevukxoe","q5pWX4XZgAS4TQBof","yb3uN577XrYa7qf57","9jmvjAEoFta6emcgS","XqcrNTrCCBr9mSd37"],"keywords":["partial evaluation","program transformation","compilation"],"search_terms":["mix","self","applicable","partial","evaluator","experiments","compiler","generation","jones","sestoft","søndergaard"],"title":"Mix: A Self-Applicable Partial Evaluator for Experiments in Compiler Generation","year":1989}