Abstract
Simple specifications may be written in Casl essentially as in many other algebraic specification languages.
The simplest kind of algebraic specification is when each specified operation is to be interpreted as an ordinary total mathematical function: it takes values of particular types as arguments, and always returns a well-defined value. Total functions correspond to software whose execution always terminates normally. The types of values are named by simple symbols called sorts.
In practice, a realistic software specification involves partial as well as total functions. However, it may well be formed from simpler specifications, some of which involve only total functions. This chapter explains how to express such simple specifications in Casl, illustrating various features of the language.
The simple specifications discussed in this chapter can also be expressed in many previous specification languages; it is usually straightforward to reformulate them in Casl. Readers who know other specification languages will probably recognize some familiar examples among the illustrations given in this chapter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Bidoit, M., Mosses, P.D. (2004). 3 Getting Started. In: Bidoit, M., Mosses, P.D. (eds) CASL User Manual. Lecture Notes in Computer Science, vol 2900. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-44397-1_3
Download citation
DOI: https://doi.org/10.1007/978-3-540-44397-1_3
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-20766-5
Online ISBN: 978-3-540-44397-1
eBook Packages: Springer Book Archive