Ada

Ada is a general purpose, compiled programming language. It features strong static typing, packages, exceptions, generics, tasking, object-orientation and contracts.

Installation

Install the gcc-ada package. This will install the GNAT compiler, which is an Ada front-end for the GNU Compiler Collection (GCC).

Additional packages:

  • adaboochAUR - The Ada 95 Booch Components.
  • adacursesAUR - An Ada binding to the 'ncurses' C library.
  • ada_language_serverAUR - High performance syntactic and semantic engine for the Ada programming language.
  • ada-libfswatchAUR - An Ada binding to the libfswatch library in the fswatch project.
  • adasocketsAUR - BSD sockets in Ada.
  • ada_spawnAUR - A simple Ada API to start processes and communicate with them.
  • ada-web-serverAUR - Ada Web Server
  • ahvenAUR - A simple unit test framework for the Ada programming language.
  • alireAUR - A catalog of ready-to-use Ada libraries plus a command-line tool (alr) to use them.
  • aunitAUR - Ada Unit Testing Framework
  • - An open-source implementation of IEEE Standard 1003.5b-1996, the POSIX Ada binding.
  • - Ada front-end for GCC (GNAT) with an unstripped runtime for effective debugging in gdb.
  • GNATColl - GNAT Components Collection
  • - GNAT Programming Studio for Ada.
  • - GnatStudio binary for Ada.
  • - Translates addresses into their corresponding filename, line number, and function names for Ada programs.
  • or gprbuild-gitAUR - GPRbuild build system
  • - Ada bindings for the Gtk+ library.
  • ini_file_managerAUR - Ini configuration file reader and manipulator package for Ada.
  • - An Ada 2012 library to monitor filesystem events using the Linux inotify API.
  • - A high performance semantic engine for the Ada programming language.
  • - Libadalang-based tools for Ada: gnatpp, gnatmetric and gnatstub.
  • - Ada library to handle Gnat project files.
  • - A high level string and text processing library for Ada.
  • - Provides the Distributed Systems Annex (DSA) to build distributed applications with Ada.
  • - An Ada binding to the Simple DirectMedia Layer (SDL) library.
  • xmladaAUR or - XML/Ada

Test your installation

Check that GNAT is installed correctly by building a simple program, as follows:

hello.adb
with Ada.Text_IO;

procedure Hello is
begin
   Ada.Text_IO.Put_Line ("Hello, Arch!");
end Hello;

You can compile it with :

Then run it:

gollark: "Actively harm humanity" is waaay too vague. This is a bad idea.
gollark: <@330678593904443393> Burning people because they don't agree on things is an awful idea.
gollark: <@357932279231807488> They did release the full model IIRC.
gollark: Why not run it on... your actual computer? Is there some sort of importable Pyth implementation?
gollark: I think the main issue is just in creating a process; that is *slooooow*.

See also

Language

Tools

Library Docs

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.