DocumentCode
297396
Title
A C++ library for implementing specifications
Author
Minkowitz, C. ; Rann, D. ; Turner, J.H.
Author_Institution
Sch. of Comput., Staffordshire Univ., Stafford, UK
fYear
1995
fDate
5-8 Apr 1995
Firstpage
61
Lastpage
75
Abstract
In the industrial context specifications are usually a means to an end, namely code, rather than an end in themselves. If is argued that this fact should be taken into account in the development process, and that rather than considering specification and implementation as separate, disjoint activities, they might be seen as part of a continuum. A method of writing specifications in a manner leading to a simpler implementation route is described. This is done by making explicit all pre- and post-conditions and state invariants. The most widely used constructs of model-based specification languages are implemented as a C++ library, which in turn is used to implement specifications. A case study is used to illustrate the method. The method is evaluated in terms of its effect on program correctness and programmer productivity for implementing specifications. It is suggested that the reusability of its code makes the library useful for general development
Keywords
C language; formal specification; object-oriented languages; software libraries; specification languages; C++ library; development process; implementation route; industrial context specifications; model-based specification languages; program correctness; programmer productivity; reusability; Formal specifications; Internet; Libraries; Production systems; Productivity; Programming profession; Prototypes; Software systems; Testing; Writing;
fLanguage
English
Publisher
ieee
Conference_Titel
Industrial-Strength Formal Specification Techniques, 1995. Proceedings., Workshop on
Conference_Location
Boca Raton, FL
Print_ISBN
0-8186-7005-3
Type
conf
DOI
10.1109/WIFT.1995.515479
Filename
515479
Link To Document