{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,29]],"date-time":"2026-07-29T02:21:31Z","timestamp":1785291691468,"version":"3.55.0"},"reference-count":46,"publisher":"Cambridge University Press (CUP)","issue":"6","license":[{"start":{"date-parts":[[2008,11,7]],"date-time":"2008-11-07T00:00:00Z","timestamp":1226016000000},"content-version":"unspecified","delay-in-days":4389,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["J. Funct. Prog."],"published-print":{"date-parts":[[1996,11]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    We introduce a\n                    <jats:italic>positive supercompiler<\/jats:italic>\n                    , a version of Turchin's supercompiler maintaining only positive information during transformation, and using folding without generalization. The positive supercompiler can also be regarded as a variant of Wadler's deforestation maintaining an increased amount of information. We compare our algorithm to deforestation and, in less detail, to partial evaluation, Turchin's supercompiler, Generalized Partial Computation (GPC), and partial deduction by classifying these transformers by the amount of information they maintain during transformation. This factor is significant, as a differentiating example reveals: positive supercompilation, Turchin's supercompiler, GPC and partial deduction can specialize a general pattern matcher with respect to a fixed pattern to obtain an efficient matcher very similar to the Knuth\u2013Morris\u2013Pratt algorithm. Deforestation and traditional partial evaluation achieve this effect only after a non-trivial hand rewriting of the general matcher.\n                  <\/jats:p>","DOI":"10.1017\/s0956796800002008","type":"journal-article","created":{"date-parts":[[2008,11,7]],"date-time":"2008-11-07T11:10:29Z","timestamp":1226056229000},"page":"811-838","source":"Crossref","is-referenced-by-count":104,"title":["A positive supercompiler"],"prefix":"10.1017","volume":"6","author":[{"given":"M. H.","family":"S\u00f8rensen","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"R.","family":"Gl\u00fcck","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"N. D.","family":"Jones","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2008,11,7]]},"reference":[{"key":"S0956796800002008_ref016","first-page":"432","volume-title":"Lecture Notes in Computer Science 864","author":"Gl\u00fcck","year":"1994"},{"key":"S0956796800002008_ref046","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(90)90147-A"},{"key":"S0956796800002008_ref015","first-page":"112","volume-title":"Lecture Notes in Computer Science 724","author":"Gl\u00fcck","year":"1993"},{"key":"S0956796800002008_ref012","unstructured":"Ferguson A. B. and Wadler P. L. (1988) When will deforestation stop?. Glasgow Workshop on Functional Programming, pp. 39\u201356."},{"key":"S0956796800002008_ref011","doi-asserted-by":"publisher","DOI":"10.1145\/357153.357154"},{"key":"S0956796800002008_ref010","first-page":"495","volume-title":"Lecture Notes in Computer Science 523","author":"Consel","year":"1991"},{"key":"S0956796800002008_ref004","doi-asserted-by":"publisher","DOI":"10.1007\/BF00264249"},{"key":"S0956796800002008_ref001","first-page":"1","volume-title":"ACM Workshop on Partial Evaluation and Semantics-Based Program Manipulation","author":"Andersen","year":"1992"},{"key":"S0956796800002008_ref043","first-page":"341","volume-title":"Partial Evaluation and Mixed Computation","author":"Turchin","year":"1988"},{"key":"S0956796800002008_ref005","volume-title":"Introduction to Functional Programming","author":"Bird","year":"1988"},{"key":"S0956796800002008_ref014","first-page":"1","volume-title":"International Conference on Fifth Generation Computer Systems","author":"Futamura","year":"1988"},{"key":"S0956796800002008_ref034","volume-title":"Turchin's supercompiler revisited. An operational theory of positive information propagation","author":"S\u00f8rensen","year":"1994"},{"key":"S0956796800002008_ref032","first-page":"485","volume-title":"Partial Evaluation and Mixed Computation","author":"Sestoft","year":"1988"},{"key":"S0956796800002008_ref008","first-page":"11","volume-title":"ACM Conference on Lisp and Functional Programming","author":"Chin","year":"1992"},{"key":"S0956796800002008_ref018","doi-asserted-by":"publisher","DOI":"10.1145\/96877.96953"},{"key":"S0956796800002008_ref039","doi-asserted-by":"publisher","DOI":"10.1145\/954063.954069"},{"key":"S0956796800002008_ref020","first-page":"225","volume-title":"Partial Evaluation and Mixed Computation","author":"Jones","year":"1988"},{"key":"S0956796800002008_ref045","volume-title":"The Implementation of Functional Programming Languages","author":"Wadler","year":"1987"},{"key":"S0956796800002008_ref009","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(89)90113-0"},{"key":"S0956796800002008_ref044","first-page":"282","volume-title":"ACM Symposium on Lisp and Functional Programming 1984","author":"Wadler","year":"1984"},{"key":"S0956796800002008_ref036","first-page":"485","volume-title":"Programming Languages and Systems","author":"S\u00f8rensen","year":"1994"},{"key":"S0956796800002008_ref017","first-page":"165","volume-title":"Lecture Notes in Computer Science 844","author":"Gl\u00fcck","year":"1994"},{"key":"S0956796800002008_ref003","first-page":"368","volume-title":"Lecture Notes in Computer Science 201","author":"Augustsson","year":"1985"},{"key":"S0956796800002008_ref007","doi-asserted-by":"publisher","DOI":"10.1145\/321992.321996"},{"key":"S0956796800002008_ref013","first-page":"133","volume-title":"Partial Evaluation and Mixed Computation","author":"Futamura","year":"1988"},{"key":"S0956796800002008_ref022","first-page":"206","volume-title":"Lecture Notes in Computer Science 792","author":"Jones","year":"1994"},{"key":"S0956796800002008_ref026","doi-asserted-by":"publisher","DOI":"10.1016\/0743-1066(91)90027-M"},{"key":"S0956796800002008_ref041","doi-asserted-by":"publisher","DOI":"10.1145\/800068.802134"},{"key":"S0956796800002008_ref028","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-54444-5_111"},{"key":"S0956796800002008_ref023","first-page":"49","volume-title":"Lecture Notes in Computer Science 649","author":"Komorowski","year":"1992"},{"key":"S0956796800002008_ref027","first-page":"296","volume-title":"Lecture Notes in Computer Science 983","author":"Nielsen","year":"1995"},{"key":"S0956796800002008_ref025","doi-asserted-by":"crossref","first-page":"144","DOI":"10.1145\/158511.158618","volume-title":"20th ACM Symposium on Principles of Programming Languages","author":"Launchbury","year":"1993"},{"key":"S0956796800002008_ref029","first-page":"221","volume-title":"22nd ACM Symposium on Principles of Programming Languages","author":"Sands","year":"1995"},{"key":"S0956796800002008_ref030","first-page":"681","volume-title":"Lecture Notes in Computer Science 915","author":"Sands","year":"1995"},{"key":"S0956796800002008_ref019","unstructured":"Hamilton G. W. (1993) Compile-time optimisation of storage usage in lazy functional programs. PhD thesis, University of Stirling."},{"key":"S0956796800002008_ref031","volume-title":"Lecture Notes in Computer Science","author":"Seidl","year":"1996"},{"key":"S0956796800002008_ref033","first-page":"62","volume-title":"Symposium on Partial Evaluation and Semantics-Based Program Manipulation","author":"Smith","year":"1991"},{"key":"S0956796800002008_ref035","first-page":"335","volume-title":"Lecture Notes in Computer Science 787","author":"S\u00f8rensen","year":"1994"},{"key":"S0956796800002008_ref037","first-page":"465","volume-title":"Logic Programming: Proceedings of the 1995 International Symposium","author":"S\u00f8rensen","year":"1995"},{"key":"S0956796800002008_ref038","first-page":"1","volume-title":"Symposium on Partial Evaluation and Semantics-Based Program Manipulation","author":"Takano","year":"1991"},{"key":"S0956796800002008_ref006","unstructured":"Bondorf A. (1990) Self-applicable partial evaluation. PhD thesis, DIKU-Rapport 90\/17, Department of Computer Science, University of Copenhagen."},{"key":"S0956796800002008_ref021","volume-title":"Partial Evaluation and Automatic Program Generation","author":"Jones","year":"1993"},{"key":"S0956796800002008_ref040","first-page":"441","volume-title":"Lecture Notes in Computer Science 94","author":"Turchin","year":"1980"},{"key":"S0956796800002008_ref042","doi-asserted-by":"publisher","DOI":"10.1145\/5956.5957"},{"key":"S0956796800002008_ref024","doi-asserted-by":"publisher","DOI":"10.1137\/0206024"},{"key":"S0956796800002008_ref002","first-page":"233","volume-title":"22nd ACM Symposium on Principles of Programming Languages 1995","author":"Ariola","year":"1995"}],"container-title":["Journal of Functional Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0956796800002008","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T22:35:26Z","timestamp":1779834926000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0956796800002008\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[1996,11]]},"references-count":46,"journal-issue":{"issue":"6","published-print":{"date-parts":[[1996,11]]}},"alternative-id":["S0956796800002008"],"URL":"https:\/\/doi.org\/10.1017\/s0956796800002008","relation":{},"ISSN":["0956-7968","1469-7653"],"issn-type":[{"value":"0956-7968","type":"print"},{"value":"1469-7653","type":"electronic"}],"subject":[],"published":{"date-parts":[[1996,11]]}}}