【24h】

A Core Calculus of Classes and Mixins

机译:课程和混合核心微积分

获取原文

摘要

We develop an imperative calculus that provides a formal model for both single and mixin inheritance. By introducing classes and mixins as the basic object-oriented constructs in a -calculus with records and references, we obtain a system with an intuitive operational semantics. New classes are produced by applying mixins to superclasses. Objects are represented by records and produced by instantiating classes. The type system for objects uses only functional, record, and reference types, and there is a clean separation between subtyping and inheritance.
机译:我们开发了一个必要的微积分,为单身和Mixin继承提供了一个正式模型。通过将类和MixIn引入与记录和参考的-Calcululculul中的基本面向对象的构造,我们获得具有直观操作语义的系统。通过将混音应用于超类来生产新的课程。对象由实例化类的记录表示。对象类型系统仅使用功能,记录和引用类型,并且在亚型和继承之间存在干净的分离。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号