【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一样的语言类型系统,并允许soundess和跨检查w.r.t.的完整性的正式定义在全球范围汇编。因为它们允许选择性重新编译,这些属性在实践中很重要的。特别是,我们表明,当类型系统具有主要分型,并提供声音和类型的环境之间的完全蕴涵关系,这样可以保证。第二个贡献是更具体的,并且是类型系统的先前针对羽Java定义的与方法重载和隐藏字段的概念的实例化。其目的是要表明,它可以定义类型的系统为Java类语言,其中,相对于那些通过标准编译器所使用的,具有主要分型,因此可以用作用于选择性重新编译的基础。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号