{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T04:11:14Z","timestamp":1750306274996,"version":"3.41.0"},"reference-count":23,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","license":[{"start":{"date-parts":[[2017,8,29]],"date-time":"2017-08-29T00:00:00Z","timestamp":1503964800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2017,8,29]]},"abstract":"<jats:p>Algorithms that convert direct-style \u03bb-calculus terms to their equivalent terms in continuation-passing style (CPS) typically introduce so-called \u201cadministrative redexes:\u201d useless artifacts of the conversion that must be cleaned up by a subsequent pass over the result to reduce them away. We present a simple, linear-time algorithm for CPS conversion that introduces no administrative redexes. In fact, the output term is a normal form in a reduction system that generalizes the notion of \u201cadministrative redexes\u201d to what we call \u201cno-brainer redexes,\u201d that is, redexes whose reduction shrinks the size of the term. We state the theorems which establish the algorithm's desireable properties, along with sketches of the full proofs.<\/jats:p>","DOI":"10.1145\/3110267","type":"journal-article","created":{"date-parts":[[2017,8,29]],"date-time":"2017-08-29T18:19:41Z","timestamp":1504030781000},"page":"1-25","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":2,"title":["No-brainer CPS conversion (functional pearl)"],"prefix":"10.1145","volume":"1","author":[{"given":"Milo","family":"Davis","sequence":"first","affiliation":[{"name":"Northeastern University, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"William","family":"Meehan","sequence":"additional","affiliation":[{"name":"Northeastern University, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Olin","family":"Shivers","sequence":"additional","affiliation":[{"name":"Northeastern University, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2017,8,29]]},"reference":[{"volume-title":"Compiling with Continuations","author":"Appel Andrew W.","key":"e_1_2_1_1_1","unstructured":"Andrew W. Appel . 2006. Compiling with Continuations . Cambridge University Press . Andrew W. Appel. 2006. Compiling with Continuations. Cambridge University Press."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796897002839"},{"key":"e_1_2_1_3_1","volume-title":"Studies in Logic and the Foundations of Mathematics","volume":"103","author":"Barendregt Hendrik Pieter","year":"1985","unstructured":"Hendrik Pieter Barendregt . 1985 . The Lambda Calculus: Its Syntax and Semantics . Studies in Logic and the Foundations of Mathematics , Vol. 103 . North-Holland, Amsterdam. Hendrik Pieter Barendregt. 1985. The Lambda Calculus: Its Syntax and Semantics. Studies in Logic and the Foundations of Mathematics, Vol. 103. North-Holland, Amsterdam."},{"volume-title":"Introduction to Functional Programming","author":"Bird Richard","key":"e_1_2_1_4_1","unstructured":"Richard Bird and Philip Wadler . 1992. Introduction to Functional Programming . Prentice Hall . Richard Bird and Philip Wadler. 1992. Introduction to Functional Programming. Prentice Hall."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/1411204.1411206"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129500001535"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01019461"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/155090.155113"},{"volume-title":"Computer-Aided Reasoning: An Approach. Number 3 in Advances in Formal Methods","author":"Kaufmann Matt","key":"e_1_2_1_9_1","unstructured":"Matt Kaufmann , Panagiotis Manolios , and J Strother Moore . 1990. Computer-Aided Reasoning: An Approach. Number 3 in Advances in Formal Methods . Kluwer Academic Publishers . Matt Kaufmann, Panagiotis Manolios, and J Strother Moore. 1990. Computer-Aided Reasoning: An Approach. Number 3 in Advances in Formal Methods. Kluwer Academic Publishers."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/202529.202532"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/75277.75302"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/1291151.1291179"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/12276.13333"},{"key":"e_1_2_1_15_1","unstructured":"David A. Kranz. 1988. ORBIT: An Optimizing Compiler for Scheme. Ph.D. Dissertation. Computer Science Department Yale University New Haven Connecticut. Research Report 632.  David A. Kranz. 1988. ORBIT: An Optimizing Compiler for Scheme. Ph.D. Dissertation. Computer Science Department Yale University New Haven Connecticut. Research Report 632."},{"volume-title":"Trends in Functional Programming","author":"Millikin Kevin","key":"e_1_2_1_16_1","unstructured":"Kevin Millikin . 2005. A new approach to one-pass transformations . In Trends in Functional Programming Volume 6 . Intellect Books , 252\u2013264. Kevin Millikin. 2005. A new approach to one-pass transformations. In Trends in Functional Programming Volume 6. Intellect Books, 252\u2013264."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(75)90017-1"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.3765\/sp.9.12"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/800194.805852"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01019459"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01019462"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796806006009"},{"volume-title":"the ultimate declarative. AI Memo 379. Artificial Intelligence Laboratory","author":"Steele Guy L.","key":"e_1_2_1_23_1","unstructured":"Guy L. Steele Jr . 1976. Lambda , the ultimate declarative. AI Memo 379. Artificial Intelligence Laboratory , Massachusetts Institute of Technology , Cambridge, Massachusetts . Guy L. Steele Jr. 1976. Lambda, the ultimate declarative. AI Memo 379. Artificial Intelligence Laboratory, Massachusetts Institute of Technology, Cambridge, Massachusetts."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.5555\/889478"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3110267","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3110267","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T04:38:44Z","timestamp":1750221524000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3110267"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,8,29]]},"references-count":23,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2017,8,29]]}},"alternative-id":["10.1145\/3110267"],"URL":"https:\/\/doi.org\/10.1145\/3110267","relation":{},"ISSN":["2475-1421"],"issn-type":[{"type":"electronic","value":"2475-1421"}],"subject":[],"published":{"date-parts":[[2017,8,29]]},"assertion":[{"value":"2017-08-29","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}