GSBL: An Algebraic Specification Language Based on Inheritance

  • Authors:
  • Silvia Clerici;Fernando Orejas

  • Affiliations:
  • -;-

  • Venue:
  • ECOOP '88 Proceedings of the European Conference on Object-Oriented Programming
  • Year:
  • 1988

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.