【24h】

Principal typings for Java-like languages

机译:类似Java语言的主体类型

获取原文

摘要

The contribution of the paper is twofold. First, we define a general notion of type system equipped with an entailment relation between type environments; this generalisation serves as a pattern for instantiating type systems able to support separate compilation and inter-checking of Java-like languages, and allows a formal definition of soundess and completeness of inter-checking w.r.t. global compilation. These properties are important in practice since they allow selective recompilation. In particular, we show that they are guaranteed when the type system has principal typings and provides sound and complete entailment relation between type environments.The second contribution is more specific, and is an instantiation of the notion of type system previously defined for Featherweight Java with method overloading and field hiding. The aim is to show that it is possible to define type systems for Java-like languages, which, in contrast to those used by standard compilers, have principal typings, hence can be used as a basis for selective recompilation.
机译:论文的贡献是双重的。首先,我们定义了类型系统的一般概念,该类型系统在类型环境之间配备了包含关系。这种概括用作实例化类型系统的模式,该系统能够支持类Java语言的单独编译和内部检查,并允许对声音的正式定义和内部检查的完整性。全局编译。这些性质在实践中很重要,因为它们允许选择性重新编译。特别是,我们证明了当类型系统具有主体类型并在类型环境之间提供健全和完整的包含关系时,它们是有保证的。第二个贡献是更具体的,它是先前为Featherweight Java定义的类型系统概念的实例化,其中方法重载和字段隐藏。目的是表明可以为类似Java的语言定义类型系统,与标准编译器使用的类型系统不同,它具有主体类型,因此可以用作选择性重新编译的基础。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号