首页> 外文会议>International Conference on Objects, Models, Components, Patterns >Lifted Java: A Minimal Calculus for Translation Polymorphism
【24h】

Lifted Java: A Minimal Calculus for Translation Polymorphism

机译:举起Java:翻译多态性的最小微积分

获取原文
获取外文期刊封面目录资料

摘要

To support roles and similar notions involving multiple views on an object, languages like Object Teams and CaesarJ include mechanisms known as lifting and lowering. These mechanisms connect pairs of objects of otherwise unrelated types, and enables programmers to consider such a pair almost as a single object which has both types. In the terminology of Object Teams this is called translation polymorphism. In both Object Teams and CaesarJ the type system of the Java programming language has been extended to support this through the use of advanced language features. However, so far the soundness of translation polymorphism has not been proved. This paper presents a simple model that extends Featherweight Java with the core operations of translation polymorphism, provides a Coq proof that its type system is sound, and shows that the ambiguity problem associated with the so-called smart lifting mechanism can be eliminated by a very simple semantics for lifting.
机译:为了支持涉及对象的多个视图的角色和类似概念,对象团队和CAESARJ等语言包括称为升降和降低的机制。这些机制连接了否则不相关类型的对象对,并且使程序员能够考虑几乎作为具有两种类型的单个对象。在对象团队的术语中,这称为翻译多态性。在两个对象团队和Caesarj中,Java编程语言的类型系统已经扩展到通过使用高级语言功能来支持这一点。但是,到目前为止,翻译多态性的声音尚未得到证实。本文提出了一个简单的模型,将羽量级Java扩展了翻译多态性的核心操作,提供了它的类型系统声音的COQ证据,并表明了与所谓的智能提升机制相关的歧义问题可以通过非常容易消除相关的智能提升机构。升降的简单语义。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号