Interlanguage migration: from scripts to programs
The DOI matches its Crossref record; 14 of the 14 references it cites were found in a registry or an index.
Abstract
As scripts grow into full-fledged applications, programmers should want to port portions of their programs from scripting languages to languages with sound and rich type systems. This form of interlanguage migration ensures type-safety and provides minimal guarantees for reuse in other applications, too.In this paper, we present a framework for expressing this form of interlanguage migration. Given a program that consists of modules in the untyped lambda calculus, we prove that rewriting one of them in a simply typed lambda calculus produces an equivalent program and adds the expected amount of type safety, i.e., code in typed modules can't go wrong. To ensure these guarantees, the migration process infers constraints from the statically typed module and imposes them on the dynamically typed modules in the form of behavioral contracts.
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
(1975) · doi:10.1145/800027.808439 · Cited by 3,227
Brooks, F. P. (1975) · ACM SIGPLAN Notices · doi:10.1145/390016.808439 · Cited by 3,224
A theory of type polymorphism in programming
Milner, R. (1978) · Journal of Computer and System Sciences · doi:10.1016/0022-0000(78)90014-4 · Cited by 2,205 · cited 1×
“After all, “typed programs can’t go wrong” [24], i.”
Java Virtual Machine Specification
Lindholm, T., & Yellin, F. (1996) · CERN Document Server (European Organization for Nuclear Research) · Cited by 2,155
Test Driven Development: By Example
Beck (2002) · Addison-Wesley Longman Publishing Co., Inc. eBooks · Cited by 1,282
Steele, G. L. (1984) · Virtual Defense Library (Ministerio de Defensa) · Cited by 1,146
The mythical man-month (anniversary ed.)
Brooks, J. F. P. (1995) · Addison-Wesley Longman Publishing Co., Inc. eBooks · Cited by 659
Contracts for higher-order functions
Findler, R. B., & Felleisen, M. (2002) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/581478.581484 · Cited by 510 · cited 13×
“The others are proved in a similar way. and Felleisen [12] and Meunier, Findler and Felleisen [23] studied Given the soundness of ST, we can turn to proving soundness the use of static analysis to infer types from untyped programs for MT.”
InfluentialSelf-citationSiek, J. G., & Taha, W. (2007) · Lecture notes in computer science · doi:10.1007/978-3-540-73589-2_2 · Cited by 482 · cited 1×
“Siek and Taha [ 26 ] propose “gradual typing”, which incorporates both a type Dynamic with automatic coercions, as well as allowing only portions of types to be dynamic.”
Baars, A. I., & Swierstra, S. D. (2002) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/581478.581494 · Cited by 107 · cited 2×
“Systems based on “type Dynamic” have also been implemented and studied in the context of OCaml [18] and Haskell [4].”
A practical soft type system for scheme
Wright, A. K., & Cartwright, R. (1997) · ACM Transactions on Programming Languages and Systems · doi:10.1145/239912.239917 · Cited by 104
Operational semantics for multi-language programs
Matthews, J., & Findler, R. B. (2007) · ACM SIGPLAN Notices · doi:10.1145/1190215.1190220 · Cited by 91
Contraint-based polymorphism in Cecil
Litvinov, V. (1998) · ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA) · doi:10.1145/286936.286979 · Cited by 29 · cited 3×
“[19] Vassily Litvinov.”
(2002)
Cited by
Julia: dynamism and performance reconciled by design
Bezanson, J., Chen, J., Chung, B., Karpinski, S., Shah, V. B., Vitek, J., & Zoubritzky, L. (2018) · Proceedings of the ACM on Programming Languages · doi:10.1145/3276490 · Cited by 92
Stateful Contracts for Affine Types
Tov, J. A., & Pucella, R. (2010) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-11957-6_29 · Cited by 43
Metadata
- Authors
- Tobin-Hochstadt, S., & Felleisen, M.
- Venue
- Companion to the 21st ACM SIGPLAN symposium on Object-oriented programming systems, languages, and applications
- Publisher
- ACM
- Published
- 2006-10-22
- Pages
- 964-974
- OpenAlex
- W2052973434
- Cited by
- 206
- References
- 14
- FWCI
- 5.04
- Type
- conference paper
- Language
- en
- Open access
- closed
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
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.