Ada Programming/Ada 95

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Ada Lovelace 1838.jpg

Contents


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]

[edit] New language features

Main additions:[2]

[edit] Character set

  • Latin-1 (8-bit) character set for identifiers
  • Type Character expanded to the 256 values of Latin-1 (8 bits)
  • New type Wide_Character (16-bit character type, UCS-2 encoding) and Wide_String

[edit] 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")

[edit] Other language additions

[edit] Summary of what's new

[edit] New keywords

Ada 95 has 6 new keywords with respect to Ada 83 (69 keywords in total):

[edit] New pragmas

Added 29 pragmas, removed 5 (38 total):

[edit] New attributes

Added 52 attributes, removed 7 (85 total):

[edit] New library units

[edit] See also

[edit] Wikibook

[edit] References

[edit] References

  1. WG9 Standards and Projects. Retrieved on 2008-06-09. “The Corrigendum is approved and was published in June 2001.”
  2. Naomi Hamilton. The A-Z of Programming Languages: Ada. Computerworld. Retrieved on 2008-06-09. “The "big three" Ada 95 language revisions were Hierarchical Libraries, Protected Objects, and Object-Oriented Programming.”

[edit] External links