Loops in Combinator-Based Compilers. Wand, M. Information and Computation, 57(2-3):148--164, 1983. Previously appeared in \popl10th, 1983, pages 190--196abstract bibtex In our paper [Wand 82a], we introduced a paradigm for compilation based on combinators. A program from a source language is translated (via a semantic definition) to trees of combinators; the tree is simplified via associative and distributive laws) to a linear, assembly-language-like format; the ``compiler writer's virtual machine'' operates by simulating a reduction sequence of the simplified tree. The correctness of these transformations follows from general results about the $\lambda$-calculus. The code produced by such a generator is always tree-like. In this paper, the method is extended to produce target code with explicit loops. This is done by re-introducing variables into the terms of the target language in a restricted way, along with a structured binding operator. We also consider general conditions under which these transformations hold.
@Article{Wand83a,
author = "Wand, Mitchell",
title = "Loops in Combinator-Based Compilers",
journal = "Information and Computation",
year = 1983,
volume = "57",
number = "2-3",
pages = "148--164",
OPTmonth = "",
note = "Previously appeared in {\popl{10th}}, 1983, pages
190--196",
source = {/proj/wand/old/popl83/ic.tex},
abstract = "In our paper [Wand 82a], we introduced a paradigm for
compilation based on combinators. A program from a
source language is translated (via a semantic
definition) to trees of combinators; the tree is
simplified via associative and distributive laws) to
a linear, assembly-language-like format; the
``compiler writer's virtual machine'' operates by
simulating a reduction sequence of the simplified
tree. The correctness of these transformations
follows from general results about the
$\lambda$-calculus. The code produced by such a
generator is always tree-like. In this paper, the
method is extended to produce target code with
explicit loops. This is done by re-introducing
variables into the terms of the target language in a
restricted way, along with a structured binding
operator. We also consider general conditions under
which these transformations hold."
}
Downloads: 0
{"_id":"QDZohqPnMyBRDB9Gh","bibbaseid":"wand-loopsincombinatorbasedcompilers-1983","downloads":0,"creationDate":"2017-04-23T20:31:12.532Z","title":"Loops in Combinator-Based Compilers","author_short":["Wand, M."],"year":1983,"bibtype":"article","biburl":"http://www.ccs.neu.edu/home/wand/Bibliography.bib","bibdata":{"bibtype":"article","type":"article","author":[{"propositions":[],"lastnames":["Wand"],"firstnames":["Mitchell"],"suffixes":[]}],"title":"Loops in Combinator-Based Compilers","journal":"Information and Computation","year":"1983","volume":"57","number":"2-3","pages":"148--164","optmonth":"","note":"Previously appeared in \\popl10th, 1983, pages 190--196","source":"/proj/wand/old/popl83/ic.tex","abstract":"In our paper [Wand 82a], we introduced a paradigm for compilation based on combinators. A program from a source language is translated (via a semantic definition) to trees of combinators; the tree is simplified via associative and distributive laws) to a linear, assembly-language-like format; the ``compiler writer's virtual machine'' operates by simulating a reduction sequence of the simplified tree. The correctness of these transformations follows from general results about the $\\lambda$-calculus. The code produced by such a generator is always tree-like. In this paper, the method is extended to produce target code with explicit loops. This is done by re-introducing variables into the terms of the target language in a restricted way, along with a structured binding operator. We also consider general conditions under which these transformations hold.","bibtex":"@Article{Wand83a,\n author = \t\"Wand, Mitchell\",\n title = \t\"Loops in Combinator-Based Compilers\",\n journal = \t\"Information and Computation\",\n year = \t1983,\n volume = \t\"57\",\n number = \t\"2-3\",\n pages = \t\"148--164\",\n OPTmonth = \t\"\",\n note = \t\"Previously appeared in {\\popl{10th}}, 1983, pages\n\t\t 190--196\",\n source = {/proj/wand/old/popl83/ic.tex},\n abstract = \"In our paper [Wand 82a], we introduced a paradigm for\n\t\t compilation based on combinators. A program from a\n\t\t source language is translated (via a semantic\n\t\t definition) to trees of combinators; the tree is\n\t\t simplified via associative and distributive laws) to\n\t\t a linear, assembly-language-like format; the\n\t\t ``compiler writer's virtual machine'' operates by\n\t\t simulating a reduction sequence of the simplified\n\t\t tree. The correctness of these transformations\n\t\t follows from general results about the\n\t\t $\\lambda$-calculus. The code produced by such a\n\t\t generator is always tree-like. In this paper, the\n\t\t method is extended to produce target code with\n\t\t explicit loops. This is done by re-introducing\n\t\t variables into the terms of the target language in a\n\t\t restricted way, along with a structured binding\n\t\t operator. We also consider general conditions under\n\t\t which these transformations hold.\"\n}\n\n","author_short":["Wand, M."],"key":"Wand83a","id":"Wand83a","bibbaseid":"wand-loopsincombinatorbasedcompilers-1983","role":"author","urls":{},"downloads":0,"html":""},"search_terms":["loops","combinator","based","compilers","wand"],"keywords":[],"authorIDs":[],"dataSources":["zM8mNPR4ZkAHKtvDs"]}