Lecture Notes in Computer Science

dc.creatorToro-Ipinza, Matías
dc.creatorTanter, Éric Pierre
dc.date2021-08-23T22:58:45Z
dc.date2022-07-07T14:55:32Z
dc.date2021-08-23T22:58:45Z
dc.date2022-07-07T14:55:32Z
dc.date2017
dc.date.accessioned2023-08-22T10:52:04Z
dc.date.available2023-08-22T10:52:04Z
dc.identifier1150017
dc.identifier1150017
dc.identifierhttps://hdl.handle.net/10533/252402
dc.identifier.urihttps://repositorioslatinoamericanos.uchile.cl/handle/2250/8341661
dc.descriptionUnion types allow to capture the possibility of a term to be of several possibly unrelated types. Traditional static approaches to union types are untagged and tagged unions, which present dual advantages in their use. Inspired by recent work on using abstract interpretation to understand gradual typing, we present a novel design for union types, called gradual union types. Gradual union types combine the advantages of tagged and untagged union types, backed by dynamic checks. Seen as a gradual typing discipline, gradual union types are restricted imprecise types that denote a finite number of static types. We apply the Abstracting Gradual Typing (AGT) methodology of Garcia et al. to derive the static and dynamic semantics of a language that supports both gradual unions and the traditional, totally-unknown type. We uncover that gradual unions interact with the unknown type in a way that mandates a stratified approach to AGT, relying on a composition of two distinct abstract interpretations in order to retain optimality. Thanks to the abstract interpretation framework, the resulting language is type safe and satisfies the refined criteria for gradual languages. We also show how to compile such a language to a threesome cast calculus, and prove that the compilation preserves the semantics and properties of the language.
dc.descriptionRegular 2015
dc.descriptionFONDECYT
dc.descriptionFONDECYT
dc.languageeng
dc.relationhandle/10533/111557
dc.relationhandle/10533/111541
dc.relationhandle/10533/108045
dc.relationhttps://dialnet.unirioja.es/descarga/articulo/6079156.pdf
dc.rightsAtribución-NoComercial-SinDerivadas 3.0 Chile
dc.rightshttp://creativecommons.org/licenses/by-nc-nd/3.0/cl/
dc.rightsinfo:eu-repo/semantics/article
dc.rightsinfo:eu-repo/semantics/openAccess
dc.titleA Gradual Interpretation of Union Types
dc.titleLecture Notes in Computer Science
dc.typeArticulo
dc.typeinfo:eu-repo/semantics/publishedVersion


Este ítem pertenece a la siguiente institución