Title :
Using Larch to specify Avalon/C++ objects
Author :
Wing, Jeannette M.
Author_Institution :
Sch. of Comput. Sci., Carnegie Mellon Univ., Pittsburgh, PA, USA
fDate :
9/1/1990 12:00:00 AM
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;
Journal_Title :
Software Engineering, IEEE Transactions on