【24h】

A Formal Framework with Late Binding

机译:具有后期绑定的正式框架

获取原文
获取原文并翻译 | 示例

摘要

We define a specification formalism (formally, an instituion) which provides a notion of dynamic type (the type which is associated to a term by a particular evaluation) and late binding (the fact that the function version to be invoked in a function application depends on the dynamic type of one or more arguments). Hence, it constitutes a natural formal framework for modeling object-oriented and other dynamically-typed languages and a basis for adding to them a specification level. In this respect, the main novelty is the capability of writing axioms related to a given type which are not required to hold for subtypes, hence can be "overridden" in further refinements, thus lifting at the specification level the possibility of reusing code which is offered by the object-oriented approach.
机译:我们定义了一种规范形式主义(形式上是一个机构),它提供了动态类型(通过特定评估与术语相关联的类型)和后期绑定(在函数应用程序中要调用的函数版本取决于一个或多个参数的动态类型)。因此,它构成了一个自然的正式框架,用于对面向对象的语言和其他动态类型的语言进行建模,并为它们添加了规范级别。在这方面,主要的新颖之处在于能够编写与给定类型相关的公理,而子类不需要保留公理,因此可以在进一步的改进中“覆盖”,从而在规范级别提升了重用代码的可能性。面向对象方法提供的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号