A positive supercompiler
Open accessThe DOI matches its Crossref record; 20 of the 20 references it cites were found in a registry or an index.
Abstract
We introduce a positive supercompiler, 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–Morris–Pratt algorithm. Deforestation and traditional partial evaluation achieve this effect only after a non-trivial hand rewriting of the general matcher.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Lecture Notes in Computer Science 1205
(1999) · Industrial Robot: An International Journal · doi:10.1108/ir.1999.04926fae.001 · Cited by 38,662
Fast Pattern Matching in Strings
Knuth, D. E., Morris, Jr., & Pratt, V. R. (1977) · SIAM Journal on Computing · doi:10.1137/0206024 · Cited by 2,936
Partial evaluation and automatic program generation
Jones, N. D., Gomard, C. K., & Sestoft, P. (1993) · Research at the University of Copenhagen (University of Copenhagen) · Cited by 1,581
Self-citationA Transformation System for Developing Recursive Programs
Burstall, R. M., & Darlington, J. (1977) · Journal of the ACM · doi:10.1145/321992.321996 · Cited by 1,300 · cited 1×
“We are concerned with certain automatic instances of Burstall and Darlington' (1977) framework.”
MethodImperative functional programming
Peyton Jones, S. L., & Wadler, P. (1993) · Proceedings of the 20th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '93 · doi:10.1145/158511.158524 · Cited by 1,234
The implementation of functional programming languages
(1987) · Microprocessors and Microsystems · doi:10.1016/0141-9331(87)90510-2 · Cited by 1,076
Deforestation: transforming programs to eliminate trees
Wadler, P. (1990) · Theoretical Computer Science · doi:10.1016/0304-3975(90)90147-a · Cited by 699 · cited 2×
“…rules (5, 8) of driving by (5d, 8d) - see figure 10 The resulting set of rules is identical to the rules for deforestation as defined in Wadler (1990), except that 3> also deals with the equality construct and that 3> is formulated using evaluation contexts as in Ferguson and Wadler (1988).”
MethodIntroduction to functional programming
Bird, R. S. (1988) · Cited by 693
Partial evaluation in logic programming
Lloyd, J. W., & Shepherdson, J. C. (1991) · The Journal of Logic Programming · doi:10.1016/0743-1066(91)90027-m · Cited by 381 · cited 2×
“…as supercompilation, but requires the use of a theorem prover The above methodologies have been developed for functional languages Similar methodologies are also being studied for other language paradigms, e.g partial deduction in logic programming (Lloyd and Shepherdson, 1991; Komorowski, 1992).”
BackgroundMethodA natural semantics for lazy evaluation
Launchbury, J. (1993) · Proceedings of the 20th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '93 · doi:10.1145/158511.158618 · Cited by 371 · cited 1×
“The intended operational semantics is normal-order graph reduction to weak head normal form in the sense of Bird and Wadler (1988) This could be formalized by techniques similar to Launchbury (1993) or Ariola et al. (1995), but we shall not have any need to do so.”
Method
Metadata
- Authors
- Sørensen, M. H., Glück, R., & Jones, N. D.
- Venue
- Journal of Functional Programming
- Publisher
- Cambridge University Press (CUP)
- Published
- 1996-11
- Volume
- 6
- Issue
- 6
- Pages
- 811-838
- ISSN
- 0956-7968 (ISSN-L)
- 1469-7653
- OpenAlex
- W2125977928
- Cited by
- 183
- References
- 20
- FWCI
- 11.53
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: A positive supercompiler. https://app.cochat.ai/papers/10.1017/s0956796800002008
- The paper
- Sørensen, M. H., Glück, R., & Jones, N. D. (1996). A positive supercompiler. Journal of Functional Programming. https://doi.org/10.1017/s0956796800002008
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.