ada95 for C++ programmers

    Mark Eichin, SIPBIAP 1997
  1. Introduction
  2. Why I care
  3. Why you care
  4. Preparation
  5. Ada as a language
  6. syntax
  7. block structure is marked more clearly/verbosely
  8. ; is a terminator not a separator
  9. 69 reserved words
  10. raw syntax
  11. text
  12. 'x' is a character
  13. "xyz" is a string of characters
  14. -- "A""B" is ('A','"','B')
  15. -- must fit on a single line and not contain control characters
  16. numbers
  17. 35, 1_024, 1e6 (integer!), 3.14159_26536 (not 1. or .1)
  18. base notation: 2#111# 14#ABC# 2#11.1#e11 (base and exp always decimal)
  19. *literal numbers are never negative*
  20. identifiers
  21. lower case is same as upper except in character strings and literals
  22. iso-latin-1 so accents in identifiers are ok
  23. in comments, *anything* is ok
  24. identifiers must begin with letters
  25. max identifier len must be at least 200 characters, all significant
  26. comments
  27. comments begin with -- *only*, like // comments
  28. type system
  29. types are more sophisticated
  30. arrays have ranges, slices, sliding
  31. strong typing
  32. strongly typed assignment var:=expression;
  33. user types
  34. Object Oriented stuff
  35. Where to go
  36. Resources
  37. compiler
  38. adahome
  39. my notes
  40. Other things