Skip to main content

Annotation of Operations on Composite Types

  • Chapter
Book cover Programming with Specifications

Part of the book series: Texts and Monographs in Computer Science ((MCS))

  • 59 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Further Reading

  1. 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.

    Google Scholar 

  2. C. A. R. Hoare, N. Wirth. An axiomatic definition of the programming language Pascal. Acta Inforrnatica, Vol 2, pp. 335–355, 1973.

    Article  Google Scholar 

  3. 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.

    Article  MATH  Google Scholar 

  4. N. Wirth. The programming language Pascal. Acta Inforrnatica, Vol 1 (1), pp. 35–63, 1971.

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics