A Church-Style Intermediate Language for MLF - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Article Dans Une Revue Theoretical Computer Science Année : 2012

A Church-Style Intermediate Language for MLF

Boris Yakobowski

Résumé

MLF is a type system that seamlessly merges ML-style implicit butsecond-class polymorphism with System-F explicit first-classpolymorphism. We present xMLF, a Church-style version of MLF with fulltype information that can easily be maintained during reduction. Allparameters of functions are explicitly typed and both type abstractionand type instantiation are explicit. However, type instantiation in xMLFis more general than type application in System F. We equip xMLF with asmall-step reduction semantics that allows reduction in any context, andshow that this relation is confluent and type preserving. We also showthat both subject reduction and progress hold for weak-reductionstrategies, including call-by-value with the value-restriction. Weexhibit a type preserving encoding of MLF into xMLF, which shows thatxMLF can be used as the internal language for MLF after type inference,and also ensures type soundness for the most expressive variant of MLF.
Fichier principal
Vignette du fichier
xmlf@tcs2011.pdf (530.99 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01093719 , version 1 (11-12-2014)

Identifiants

Citer

Didier Rémy, Boris Yakobowski. A Church-Style Intermediate Language for MLF. Theoretical Computer Science, 2012, 435, pp.77--105. ⟨10.1016/j.tcs.2012.02.026⟩. ⟨hal-01093719⟩
103 Consultations
74 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More