首页> 外文会议>ECOOP'88, European conference on object-oriented programming >GSBL: An Algebraic Specification Language Based on Inheritance
【24h】

GSBL: An Algebraic Specification Language Based on Inheritance

机译:GSBL:一种基于继承的代数规范语言

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

摘要

At the specification level, inheritance can be defined as subtyping by means of order sorted specifications [GM85]. Subtyping is, obviously, a very important notion, allowing not only to work with a non rigid type structure, but also providing an adequate basis for error handling in algebraic specifications. However, in our opinion, subtyping and order sorted specifications do not play the same role as inheritance in program design. In this paper, we will present a hierarchical organization for specifications, based on a different concept of inheritance which, we think, corresponds, methodologically, to the usual inheritance relation defined at the programming level. This new relation allows to work with incomplete specifications with several levels of detail and, as a side-effect, it may play the role of genericity. The use of this notion of inheritance is shown by means of the GSBL specification language built around this new concept, whose use and formal semantics are sketched.
机译:在规范级别,可以通过顺序排序的规范[GM85]将继承定义为子类型。显然,子类型化是一个非常重要的概念,不仅允许使用非刚性类型的结构,而且还为代数规范中的错误处理提供了足够的基础。但是,在我们看来,子类型化和顺序排序的规范与程序设计中的继承起着不同的作用。在本文中,我们将基于一个不同的继承概念,提出一个规范的层次结构,我们认为该继承在方法上与在编程级别定义的常规继承关系相对应。这种新的关系允许使用具有多个细节级别的不完整规范,并且作为副作用,它可能起到通用性的作用。通过围绕这个新概念构建的GSBL规范语言来说明这种继承概念的用法,并概述了其用法和形式语义。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号