ACM Home Page
Please provide us with feedback. Feedback
ANNA: Towards a language for annotating Ada programs
Source Proceedings of the ACM-SIGPLAN symposium on The ADA programming language table of contents
Pages: 128 - 138  
Year of Publication: 1980
ISBN:0-89791-030-3
Authors
Sponsor
SIGADA: ACM Special Interest Group on Ada Programming Language
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): n/a,   Downloads (12 Months): n/a,   Citation Count: 3
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/800004.807943
What is a DOI?

ABSTRACT

ANNA is a proposal to extend Ada to include facilities for formally specifying the intended behaviour of Ada programs (or portions thereof) at all stages of program development. ANNA programs are Ada programs with formal comments. Formal comments in ANNA consist of virtul Ada text and annotations. The syntax and semantics of different kinds of annotations are defined: declarative annotations (for variables, subtypes, subprograms, and packages), statement annotations, exception annotations, and visibility annotations. ANNA includes a small number of predefined attributes which may appear only in annotations, e.g., access type collections. The lexical structure of ANNA is designed so that the extensions of Ada appear as Ada comments. ANNA programs are therefore acceptable by Ada translators. The semantics of annotations are defined in terms of Ada concepts, in particular many annotations are generalizations of the constraint concept. It is therefore a simple step for the Ada programmer to use ANNA to give formal specifications of programs. ANNA is intended to provide a formal framework within which different theories of formal specification may be applied to Ada. Our proposal omits tasking for the time being.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Bauer, F.L., Broy, M., Gnatz, R., Hesse, W. and Krieg-Brückner, B., A Wide Spectrum Language for Program Development. In: Robinet, B. (ed.), Program Transformations: 3rd Int. Symp. on Programming, Paris (1978), 1-15.
2
3
 
4
Hoare, C.A.R, and Wirth, N., An Axiomatic Definition of the Programming Language Pascal, Acta Informatica 2 (1973), 335-355.
5
6
7
8
9
 
10


Collaborative Colleagues:
Bernd Krieg Brückner: colleagues
David C. Luckham: colleagues