DocumentCode
3232370
Title
A tool for writing and debugging algebraic specifications
Author
Henkel, Johannes ; Diwan, Amer
Author_Institution
Univ. of Colorado, USA
fYear
2004
fDate
23-28 May 2004
Firstpage
449
Lastpage
458
Abstract
Despite their benefits, programmers rarely use formal specifications, because they are difficult to write and they require an up front investment in time. To address these issues, we present a tool that helps programmers write and debug algebraic specifications. Given an algebraic specification, our tool instantiates a prototype that can be used just like any regular Java class. The tool can also modify an existing application to use the prototype generated by the interpreter instead of a hand-coded implementation. The tool improves the usability of algebraic specifications in the following ways: (i) A programmer can run an algebraic specification to study its behavior. The tool reports in which way a specification is incomplete for a client application. (ii) The tool can check whether a specification and a hand-coded implementation behave the same for a particular run of a client application. (iii) A prototype can be used when a hand-coded implementation is not yet available. Two case studies demonstrate how to use the tool.
Keywords
Java; algebraic specification; program debugging; software tools; Java class; algebraic specification debugging tool; algebraic specification writing tool; formal specifications; software tool; Containers; Debugging; Documentation; Formal specifications; Java; Programming profession; Prototypes; Software engineering; Testing; Writing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering, 2004. ICSE 2004. Proceedings. 26th International Conference on
ISSN
0270-5257
Print_ISBN
0-7695-2163-0
Type
conf
DOI
10.1109/ICSE.2004.1317467
Filename
1317467
Link To Document