Ebook: Programming with Specifications: An Introduction to ANNA, A Language for Specifying Ada Programs
Author: David Luckham
- Genre: Computers // Programming
- Tags: Programming Languages Compilers Interpreters, Artificial Intelligence (incl. Robotics)
- Series: Texts and Monographs in Computer Science
- Year: 1990
- Publisher: Springer
- Language: English
- pdf
Topics • what this book is about, • its intended audience, • what the reader ought to know, • how the book is organized, • acknowledgements. Specifications express information about a program that is not normally part of the program, and often cannot be expressed in a programming lan guage. In the past, the word "specification" has sometimes been used to refer to somewhat vague documentation written in English. But today it indicates a precise statement, written in a machine processable language, about the purpose and behavior of a program. Specifications are written in languages that are just as precise as programming languages, but have additional capabilities that increase their power of expression. The termi nology formal specification is sometimes used to emphasize the modern meaning. For us, all specifications are formal. The use of specifications as an integral part of a program opens up a whole new area of programming - progmmming with specifications. This book describes how to use specifications in the process of building programs, debugging them, and interfacing them with other programs. It deals with a new trend in programming - the evolution of specification languages from the current generation of programming languages. And it describes new strategies and styles of programming that utilize specifications. The trend is just beginning, and the reader, having finished this book, will viii Preface certainly see that there is much yet to be done and to be discovered about programming with specifications.
Contents: What ANNA Is.- Simple Annotations .- Using Simple Annotations.- Exceptions.- Package Specifications.- The Process of Specifying Packages.- Annotation of Generic Units.- Annotation of Operations on Composite Types.- Annotation of the Hidden Parts of Packages.- Interpretation of Package Specifications.- Processes for Consistent Implementation of Packages.- Syntax.- Tools.- A Short Bibliography.
Contents: What ANNA Is.- Simple Annotations .- Using Simple Annotations.- Exceptions.- Package Specifications.- The Process of Specifying Packages.- Annotation of Generic Units.- Annotation of Operations on Composite Types.- Annotation of the Hidden Parts of Packages.- Interpretation of Package Specifications.- Processes for Consistent Implementation of Packages.- Syntax.- Tools.- A Short Bibliography.
Content:
Front Matter....Pages i-xvi
What Anna Is....Pages 1-18
Simple Annotations....Pages 19-58
Using Simple Annotations....Pages 59-110
Exceptions....Pages 111-127
Package Specifications....Pages 128-168
The Process of Specifying Packages....Pages 169-232
Annotation of Generic Units....Pages 233-251
Annotation of Operations on Composite Types....Pages 252-282
Annotation of the Hidden Parts of Packages....Pages 283-319
Interpretation of Package Specifications....Pages 320-356
Processes for Consistent Implementation of Packages....Pages 357-385
Back Matter....Pages 386-418
Contents: What ANNA Is.- Simple Annotations .- Using Simple Annotations.- Exceptions.- Package Specifications.- The Process of Specifying Packages.- Annotation of Generic Units.- Annotation of Operations on Composite Types.- Annotation of the Hidden Parts of Packages.- Interpretation of Package Specifications.- Processes for Consistent Implementation of Packages.- Syntax.- Tools.- A Short Bibliography.
Content:
Front Matter....Pages i-xvi
What Anna Is....Pages 1-18
Simple Annotations....Pages 19-58
Using Simple Annotations....Pages 59-110
Exceptions....Pages 111-127
Package Specifications....Pages 128-168
The Process of Specifying Packages....Pages 169-232
Annotation of Generic Units....Pages 233-251
Annotation of Operations on Composite Types....Pages 252-282
Annotation of the Hidden Parts of Packages....Pages 283-319
Interpretation of Package Specifications....Pages 320-356
Processes for Consistent Implementation of Packages....Pages 357-385
Back Matter....Pages 386-418
....