Ada 95 Reference Manual
Language and Standard Libraries
This is a hypertext version of the revised international standard (ISO/IEC 8652:1995): Information Technology -- Programming Languages -- Ada.
The entry point is the table of contents (TOC), with three "zoom levels."
TOC level: clauses (--.--). Zoom to list sections
(--) or subclauses (--.--.--).
1. General -- TOC
- Scope -- TOC
- Normative References
- Definitions
2. Lexical Elements -- TOC
- Character Set
- Lexical Elements, Separators, and Delimiters
- Identifiers
- Numeric Literals -- TOC
- Character Literals
- String Literals
- Comments
- Pragmas
- Reserved Words
3. Declarations and Types -- TOC
- Declarations
- Types and Subtypes -- TOC
- Objects and Named Numbers -- TOC
- Derived Types and Classes -- TOC
- Scalar Types -- TOC
- Array Types -- TOC
- Discriminants -- TOC
- Record Types -- TOC
- Tagged Types and Type Extensions -- TOC
- Access Types -- TOC
- Declarative Parts -- TOC
4. Names and Expressions -- TOC
- Names -- TOC
- Literals
- Aggregates -- TOC
- Expressions
- Operators and Expression Evaluation -- TOC
- Type Conversions
- Qualified Expressions
- Allocators
- Static Expressions and Static Subtypes -- TOC
5. Statements -- TOC
- Simple and Compound Statements - Sequences of Statements
- Assignment Statements
- If Statements
- Case Statements
- Loop Statements
- Block Statements
- Exit Statements
- Goto Statements
6. Subprograms -- TOC
- Subprogram Declarations
- Formal Parameter Modes
- Subprogram Bodies -- TOC
- Subprogram Calls -- TOC
- Return Statements
- Overloading of Operators
7. Packages -- TOC
- Package Specifications and Declarations
- Package Bodies
- Private Types and Private Extensions -- TOC
- Deferred Constants
- Limited Types
- User-Defined Assignment and Finalization -- TOC
8. Visibility Rules -- TOC
- Declarative Region
- Scope of Declarations
- Visibility
- Use Clauses
- Renaming Declarations -- TOC
- The Context of Overload Resolution
9. Tasks and Synchronization -- TOC
- Task Units and Task Objects
- Task Execution - Task Activation
- Task Dependence - Termination of Tasks
- Protected Units and Protected Objects
- Intertask Communication -- TOC
- Delay Statements, Duration, and Time
- Select Statements -- TOC
- Abort of a Task - Abort of a Sequence of Statements
- Task and Entry Attributes
- Shared Variables
- Example of Tasking and Synchronization
10. Program Structure and Compilation Issues -- TOC
- Separate Compilation -- TOC
- Program Execution -- TOC
11. Exceptions -- TOC
- Exception Declarations
- Exception Handlers
- Raise Statements
- Exception Handling -- TOC
- Suppressing Checks
- Exceptions and Optimization
12. Generic Units -- TOC
- Generic Declarations
- Generic Bodies
- Generic Instantiation
- Formal Objects
- Formal Types -- TOC
- Formal Subprograms
- Formal Packages
- Example of a Generic Package
13. Representation Issues -- TOC
- Representation Items
- Pragma Pack
- Representation Attributes
- Enumeration Representation Clauses
- Record Layout -- TOC
- Change of Representation
- The Package System -- TOC
- Machine Code Insertions
- Unchecked Type Conversions -- TOC
- Unchecked Access Value Creation
- Storage Management -- TOC
- Pragma Restrictions
- Streams -- TOC
- Freezing Rules
A. Predefined Language Environment -- TOC
- The Package Standard
- The Package Ada
- Character Handling -- TOC
- String Handling -- TOC
- The Numerics Packages -- TOC
- Input-Output
- External Files and File Objects
- Sequential and Direct Files -- TOC
- The Generic Package Storage_IO
- Text Input-Output -- TOC
- Wide Text Input-Output
- Stream Input-Output -- TOC
- Exceptions in Input-Output
- File Sharing
- The Package Command_Line
B. Interface to Other Languages -- TOC
- Interfacing Pragmas
- The Package Interfaces
- Interfacing with C -- TOC
- Interfacing with COBOL
- Interfacing with Fortran
C. Systems Programming -- TOC
- Access to Machine Operations
- Required Representation Support
- Interrupt Support -- TOC
- Preelaboration Requirements
- Pragma Discard_Names
- Shared Variable Control
- Task Identification and Attributes -- TOC
D. Real-Time Systems -- TOC
- Task Priorities
- Priority Scheduling -- TOC
- Priority Ceiling Locking
- Entry Queuing Policies
- Dynamic Priorities
- Preemptive Abort
- Tasking Restrictions
- Monotonic Time
- Delay Accuracy
- Synchronous Task Control
- Asynchronous Task Control
- Other Optimizations and Determinism Rules
E. Distributed Systems -- TOC
- Partitions
- Categorization of Library Units -- TOC
- Consistency of a Distributed System
- Remote Subprogram Calls -- TOC
- Partition Communication Subsystem
F. Information Systems -- TOC
- Machine_Radix Attribute Definition Clause
- The Package Decimal
- Edited Output for Decimal Types -- TOC
G. Numerics -- TOC
- Complex Arithmetic -- TOC
- Numeric Performance Requirements -- TOC
H. Safety and Security -- TOC
- Pragma Normalize_Scalars
- Documentation of Implementation Decisions
- Reviewable Object Code -- TOC
- Safety and Security Restrictions
J. Obsolescent Features -- TOC
- Renamings of Ada 83 Library Units
- Allowed Replacements of Characters
- Reduced Accuracy Subtypes
- The Constrained Attribute
- ASCII
- Numeric_Error
- At Clauses -- TOC
- Mod Clauses
- The Storage_Size Attribute
K. Language-Defined Attributes
L. Language-Defined Pragmas
M. Implementation-Defined Characteristics
N. Glossary
P. Syntax Summary
TOC level: clauses (--.--). Zoom to list sections
(--) or subclauses (--.--.--).
-- Email comments, additions, corrections, gripes, kudos, etc. to:
Magnus Kempe -- Magnus.Kempe@di.epfl.ch
Copyright statement
Page last generated: 95-03-12