On Generic Specifications

  • A first simplified view of generic specifications
  • Identification of the parameter part(s)
  • Instantiation
  • Further considerations
  • More subtle points
  • Various kinds of instantiations
  • Distinguishing parameter specifications
  • Compound sorts
  • Multiple parameters
  • Fixed part of a parameter specification
  • Abstract syntax and well-formedness conditions
  • Proposal for an abstract syntax
  • Well-formedness conditions
  • by Michel Bidoit

    1 November 1996


    This document is part of the CoFI Study Notes. Any comments and corrections should be addressed to the author.

    It will be made available formatted for printing as compressed Postscript and DVI.

    The WWW version provides only a rough approximation (mostly generated automatically by Hyperlatex) to the symbols used in the formatted versions. Please inform pdmosses@brics.dk about any places where a better approximation could be made!

    N.B. All Study Notes are TENTATIVE first versions, unless explicitly marked otherwise.

    Abstract

    The following is an attempt to clarify how to integrate generic (parametrized) specifications in the X CoFI specification language. We take for granted that generic specifications are useful (as a means for structuring specification texts and for reusing them) and that they should not be confused with "architectural specifications".

    (Sketch of) Examples are given in a hopefully suggestive but otherwise quite arbitrary concrete syntax. An attempt is made to provide a corresponding abstract syntax.

    Summary of the new proposal:
    CoFI Study Notes, November 3, 1996