< Ada Programming

Ada. Time-tested, safe and secure.
Ada 95 is the second revision of the language, preceded by Ada 83. It was standardized by the ISO in 1995. The Technical Corrigendum 1 was published in June 2001.[1]
New language features
Main additions:[2]
Character set
Specialized Needs Annexes
- Annex C, "Systems Programming"
- Annex D, "Real-Time Systems"
- Annex E, "Distributed Systems"
- Annex F, "Information Systems"
- Annex G, "Numerics"
- Annex H, "Safety and Security" (in Ada 2005 renamed to "High Integrity Systems")
Other language additions
Summary of what's new
New keywords
Ada 95 has 6 new keywords with respect to Ada 83 (69 keywords in total):
New pragmas
Added 29 pragmas, removed 5 (38 total):
pragma
All_Calls_Remotepragma
Asynchronouspragma
Atomicpragma
Atomic_Componentspragma
Attach_Handlerpragma
Conventionpragma
Discard_Namespragma
Elaborate_Allpragma
Elaborate_Bodypragma
Exportpragma
Importpragma
Inspection_Pointpragma
Interrupt_Handlerpragma
Interrupt_Prioritypragma
Linker_Optionspragma
Locking_Policypragma
Normalize_Scalarspragma
Preelaboratepragma
Purepragma
Queueing_Policypragma
Remote_Call_Interfacepragma
Remote_Typespragma
Restrictionspragma
Reviewablepragma
Shared_Passivepragma
Storage_Sizepragma
Task_Dispatching_Policypragma
Volatilepragma
Volatile_Components
New attributes
Added 52 attributes, removed 7 (85 total):
- Access
- Adjacent
- Alignment
- Bit_Order
- Body_Version
- Caller
- Ceiling
- Class
- Component_Size
- Compose
- Copy_Sign
- Definite
- Denorm
- Exponent
- External_Tag
- Floor
- Fraction
- Identity
- Input
- Leading_Part
- Machine
- Max
- Max_Size_In_Storage_Elements
- Min
- Model
- Model_Emin
- Model_Epsilon
- Model_Mantissa
- Model_Small
- Modulus
- Output
- Partition_ID
- Read
- Remainder
- Round
- Rounding
- Safe_First
- Safe_Last
- Scale
- Scaling
- Signed_Zeros
- Storage_Pool
- Tag
- Truncation
- Unbiased_Rounding
- Unchecked_Access
- Valid
- Version
- Wide_Image
- Wide_Value
- Wide_Width
- Write
New library units
- Ada.Real_Time
- ...
See also
Wikibook
References
- Ada Reference Manual, ISO/IEC 8652:1995(E) with COR.1:2000 (June 2001)
- Annotated Ada Reference Manual, ISO/IEC 8652:1995(E) with COR.1:2000 (June 2001)
- The Ada 95 Rationale: The Language, The Standard (January 1995)
- Ada 95 Quality and Style Guide: Guidelines for Professional Programmers (October 1995)
References
- ↑ "WG9 Standards and Projects". http://www.open-std.org/jtc1/sc22/wg9/projects.htm. Retrieved 2008-06-09. "The Corrigendum is approved and was published in June 2001."
- ↑ Naomi Hamilton. "The A-Z of Programming Languages: Ada". Computerworld. http://www.techworld.com.au/article/223388/-z_programming_languages_ada?pp=1. Retrieved 2008-06-09. "The "big three" Ada 95 language revisions were Hierarchical Libraries, Protected Objects, and Object-Oriented Programming."
External links
- Tucker Taft (1994). "Ada 9X for Embedded Systems Development". http://archive.adaic.com/docs/reports/taft/eet-940606.html. Retrieved 2008-06-04.
- David L. Moore (1995-10-01). "Object-Oriented Facilities in Ada 95". Dr. Dobb's Journal. http://www.ddj.com/184409641. Retrieved 2008-06-04.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.