Abstract
In this chapter we describe the additional features in Anna for specifying and annotating operations on arrays, records, and access objects (also sometimes called pointers for brevity). Such annotations require language features that are not available in Ada. Typically, to specify operations on composite objects, it is convenient to have expressions denoting the composite values in which only the important component values appear. The values of other components may be unknown or irrelevant. (Ada aggregates, for example, are complete composite values, and require all component values to be given.) Array states and record states are introduced in Anna for this purpose.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Further Reading
B. W. Lampson, J. J. Horning, R. L. London, J. G. Mitchell, G. L. Popek. Report on the programming language Euclid. ACM SIGPLAN Notices, 12 (2), February 1977.
C. A. R. Hoare, N. Wirth. An axiomatic definition of the programming language Pascal. Acta Inforrnatica, Vol 2, pp. 335–355, 1973.
D. C. Luckham, N. Suzuki. Verification of array, record, and pointer operations in Pascal. ACM Transactions on Programming Languages and Systems, 1 (2), pp. 226–244, October 1979.
N. Wirth. The programming language Pascal. Acta Inforrnatica, Vol 1 (1), pp. 35–63, 1971.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1990 Springer-Verlag New York, Inc.
About this chapter
Cite this chapter
Luckham, D. (1990). Annotation of Operations on Composite Types. In: Programming with Specifications. Texts and Monographs in Computer Science. Springer, New York, NY. https://doi.org/10.1007/978-1-4613-9685-7_8
Download citation
DOI: https://doi.org/10.1007/978-1-4613-9685-7_8
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4613-9687-1
Online ISBN: 978-1-4613-9685-7
eBook Packages: Springer Book Archive