Journal of Functional Programming · 2002 · 51 citations · 57 references
ComputingComputer ScienceCompilersProgramming LanguagesSyntaxCompiler ConstructionControl-flow AnalysisData TypesData-flow AnalysisIntermediate RepresentationType SystemsIntersection TypesPolymorphic Type SystemsPolymorphic TypesPolymorphism StudiesProgram RepresentationTransformationsTyped Lambda CalculusUnion Types
The paper introduces λ CIL, a typed λ‑calculus designed as a foundation for a typed intermediate language to support optimizing compilers for higher‑order polymorphic programming languages. λ CIL incorporates novel intersection and union types with flow labels on terms and types, enabling the encoding of polyvariant control and data‑flow information within a polymorphically typed program representation. Flow types in λ CIL allow compilers to generate customized data representations, and its confluence, standardization, and subject‑reduction properties make it a valuable tool for reasoning about programs and program transformations.
We present λ CIL , a typed λ-calculus which serves as the foundation for a typed intermediate language for optimizing compilers for higher-order polymorphic programming languages. The key innovation of λ CIL is a novel formulation of intersection and union types and flow labels on both terms and types. These flow types can encode polyvariant control and data flow information within a polymorphically typed program representation. Flow types can guide a compiler in generating customized data representations in a strongly typed setting. Since λ CIL enjoys confluence, standardization, and subject reduction properties, it is a valuable tool for reasoning about programs and program transformations.
57
Call-by-name, call-by-value and the λ-calculus
Gordon Plotkin · Theoretical Computer Science · 1975 · 1.2K citations
Principal type-schemes for functional programs
Robin Milner · 1982 · 1.1K citations
From system F to typed assembly language
Greg Morrisett, David Walker, Karl Crary et al. · ACM Transactions on Programming Languages and Systems · 1999 · 587 citations · Full text
The design and implementation of a certifying compiler
George C. Necula, Peter Lee · 1998 · 358 citations · Full text