• DocumentCode
    1554859
  • Title

    Using Larch to specify Avalon/C++ objects

  • Author

    Wing, Jeannette M.

  • Author_Institution
    Sch. of Comput. Sci., Carnegie Mellon Univ., Pittsburgh, PA, USA
  • Volume
    16
  • Issue
    9
  • fYear
    1990
  • fDate
    9/1/1990 12:00:00 AM
  • Firstpage
    1076
  • Lastpage
    1088
  • Abstract
    A formal specification of three base Avalon/C++ classes recoverable, atomic, and subatomic - is given. Programmers derive from class recoverable to define persistent objects, and from either class atomic or class subatomic to define atomic objects. The specifications, written in Larch, provide the means for showing that classes derived from the base classes implement objects that are persistent or atomic and thus exemplify the applicability of an existing specification method to specifying nonfunctional properties. Writing these formal specifications for Avalon/C++´s built-in classes has helped to clarify places in the programming language where features interact, to make unstated assumptions explicit, and to characterize complex properties of objects
  • Keywords
    formal specification; Avalon/C++ objects; Larch; atomic; complex properties; formal specification; nonfunctional properties; recoverable; subatomic; Computer languages; Formal specifications; Hardware; Object oriented programming; Programming profession; Security; Software safety; Sorting; Specification languages; Writing;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/32.58791
  • Filename
    58791