Jump to content

Ada Programming/Ada 95

From Wikibooks, open books for an open world

Ada. Time-tested, safe and secure.
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

[edit | edit source]

Main additions:[2]

Character set

[edit | edit source]
  • 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

Specialized Needs Annexes

[edit | edit source]
  • 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

[edit | edit source]

Summary of what's new

[edit | edit source]

New keywords

[edit | edit source]

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

  • abstract
  • aliased
  • protected
  • requeue
  • tagged
  • until

New pragmas

[edit | edit source]

Added 29 pragmas, removed 5 (38 total):

New attributes

[edit | edit source]

Added 52 attributes, removed 7 (85 total):

New library units

[edit | edit source]

See also

[edit | edit source]

Wikibook

[edit | edit source]

References

[edit | edit source]

References

[edit | edit source]
  1. "WG9 Standards and Projects". Retrieved 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 2008-06-09. The "big three" Ada 95 language revisions were Hierarchical Libraries, Protected Objects, and Object-Oriented Programming.
[edit | edit source]