1999 · 263 citations · 22 references
ComputingComputer ScienceProgramming LanguagesSemanticsTheory Of ComputationCompiler ConstructionData TypesData-flow AnalysisSyntax AnalysisSyntax-semantics InterfaceType SystemsPolymorphic Type SystemsPolymorphic TypesPolymorphism StudiesType ConstructorsType InferenceType PolymorphismType-driven Semantics
We describe a framework for adding type qualifiers to a language. Type qualifiers encode a simple but highly useful form of subtyping. Our framework extends standard type rules to model the flow of qualifiers through a program, where each qualifier or set of qualifiers comes with additional rules that capture its semantics. Our framework allows types to be polymorphic in the type qualifiers. We present a const-inference system for C as an example application of the framework. We show that for a set of real C programs, many more consts can be used than are actually present in the original code.
22
V. J. Rayward‐Smith, Thomas H. Cormen, Charles E. Leiserson et al. · Journal of the Operational Research Society · 1991 · 17K citations
A theory of type polymorphism in programming
Robin Milner · Journal of Computer and System Sciences · 1978 · 2.2K citations · Full text
A Syntactic Approach to Type Soundness
Andy Wright, Matthias Felleisen · Information and Computation · 1994 · 1.1K citations
Jan Lucassen, David K. Gifford · 1988 · 480 citations
Titanium: a high-performance Java dialect
Kathy Yelick, Luigi Semenzato, Geoff Pike et al. · Concurrency Practice and Experience · 1998 · 456 citations