2005 · 19 citations · 9 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSoftware EngineeringAbstract InterpretationData TypesSoftware DesignSpecification LanguagesType SystemsAbstract SemanticsAbstraction MechanismsInterface Definition LanguagesInterface SemanticsInterface SignaturesSoftware ComponentsSubtyping
Current languages allow a programmer to describe an interface only by enumerating its parts, possibly including other interfaces wholesale. Such languages cannot express relationships between interfaces, yet when independently developed software components are combined into a larger system, significant relationships arise.To address this shortcoming, we define, as a conservative extension of ML, a language for manipulating interfaces. Our language includes operations for adding, renaming, and removing components; for changing the type associated with a value; for making manifest types abstract and vice versa; and for combining interfaces. These operations can express useful relationships among interfaces. We have defined a formal semantics in which an interface denotes a group of four sets; we show how these sets determine a subtyping relation, and we sketch the elaboration of an interface into its denotation.
9
A type-theoretic approach to higher-order modules with sharing
Robert Harper, Mark Lillibridge · 1994 · 291 citations · Full text
Manifest types, modules, and separate compilation
Xavier Leroy · 1994 · 260 citations · Full text
Karl Crary, Robert Harper, Sidd Puri · 1999 · 121 citations
Xavier Leroy · Journal of Functional Programming · 2000 · 111 citations · Full text