Hello World

with Ada.Text_IO; -- package with all functionality needed for textual Input/Output
use Ada.Text_IO;  -- makes the content of the package directly visible

procedure Hello is
begin
   Put_Line("Hello, world!");  -- Without use: Ada.Text_IO.Put_Line(...);
end Hello;

Elementary Syntax:

  • An Ada statement is terminated with a semicolon.
  • Two consecutive hyphens (–) mark the start of a comment that continues to the end of the line.
  • Ada identifiers and reserved words are case insensitive.

References: