ACM Home Page
Please provide us with feedback. Feedback
Flexible type analysis
Full text PdfPdf (1.48 MB)
Source International Conference on Functional Programming archive
Proceedings of the fourth ACM SIGPLAN international conference on Functional programming table of contents
Paris, France
Pages: 233 - 248  
Year of Publication: 1999
ISBN:1-58113-111-9
Also published in ...
Authors
Karl Crary  Carnegie Mellon University
Stephanie Weirich  Cornell University
Sponsors
INRIA : Institut Natl de Recherche en Info et en Automatique
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 29,   Citation Count: 34
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/317636.317906
What is a DOI?

ABSTRACT

Run-time type dispatch enables a variety of advanced optimization techniques for polymorphic languages, including tag-free garbage collection, unboxed function arguments, and flattened data structures. However, modern type-preserving compilers transform types between stages of compilation, making type dispatch prohibitively complex at low levels of typed compilation. It is crucial therefore for type analysis at these low levels to refer to the types of previous stages. Unfortunately, no current intermediate language supports this facility.To fill this gap, we present the language LX, which provides a rich language of type constructors supporting type analysis (possibly of previous-stage types) as a programming idiom. This language is quite flexible, supporting a variety of other applications such as analysis of quantified types, analysis with incomplete type information, and type classes. We also show that LX is compatible with a type-erasure semantics.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
2
3
 
4
Karl Crary and Stephanie Weirich. Flexible type analysis (extended version). Technical report, Cornell University, 1999.
5
 
6
 
7
 
8
 
9
Jean-Yves Girard. Une extension de l'interpr6tation de GSdel ~ l'aaalyse, et son application ~ l'61imiaation de coupures dans l'analyse etla th~orie des types. In J. E. Fenstad, editor, Proceedi~~s of the Second Scandinavian Logic Symposium, pages 63-92. North-Holland Publishing Co., 1971.
 
10
Jean-Yves Girard. Interprdtation fonctionelle et dlimination des coupures de l'arithmdtique d'ordre supdrieur. PhD thesis, Universit~ Paris VII, 1972.
 
11
12
 
13
14
15
16
 
17
Nax Paul Mendler. Inductive types and type constraints in the second-order lambda calculus. Annals of Pure and Applied Logic, 51(1-2):159-172, 1991. Earlier version in LICS '88. (pp. 15,19,134,135).
 
18
Paul Francis Mendler. Inductive Definition in Type Theory. PhD thesis, Department of Computer Science, Cornell University, Ithaca, New York, September 1987.
19
 
20
G. Morrisett, D. Taxditi, P. Cheng, C. Stone, R. Harper, and P. Lee. The TIL/ML compiler: Performance and safety through type~. In Workshop on Compiler Support for Systems Software, Tucson, February 1996.
 
21
Greg Morrisett. Compiling with Types. PhD thesis~ Carnegie Mellon University, School of Computer Science, Pittsburgh, Pennsylvania, December 1995.
 
22
Greg Morrisett, Karl Crary, Neal Glew, Dan Grossman, Richard Samuels, Fred Smith, Dave Walker, Stephanie Weirich, and Steve Zdancewic. TALx86: A realistic typed assembly language. Technical report, Cornell University, 1999. Submitted to the 1999 ACM SIGPLAN Workshop on Compiler Support for System Software.
 
23
24
25
26
 
27
Zhong Shao. An overview of the FLINT/ML compiler. In 1997 Workshop on Types in Compilation, Amsterdam, June 1997. Published as Boston College Computer Science Department Technical Report BCCS-97-03.
28
29
30
 
31
Benjamin Werner. Une Thdorie des Constructiones lnductives. PhD thesis, Universit~ Paris VII, 1994.

CITED BY  34

Collaborative Colleagues:
Karl Crary: colleagues
Stephanie Weirich: colleagues