Ada/SPARK

repo: ohenley/awesome-ada
category: Programming Languages related: Security


Awesome Ada Awesome

<br/><br/> <div align="center"> <img width="260px" src="https://github.com/ohenley/files/blob/master/awesome-ada/logo_ada_awesome.svg" alt="Awesome"/> </div>

<br/><br/>

<font size="7">Ada is powering satellites, aircrafts, ships, power plants, surgical robots, drones, CNCs, servers, games and coffee makers.</font> Ada is arguably the most { <b>performant</b> ∩ <b>capable</b> ∩ <b>precise</b> ∩ <b>readable</b> ∩ <b>mature</b> } programming language. Ada is alive and kicking!

Long live Ada/SPARK.

<br/><br/>

A curated list of awesome resources related to the Ada and SPARK programming language.

Contents

<details> <summary>Click to expand</summary>

  1. Presentation
  2. Education
    1. Entry Point
    2. Tutorials
    3. Online Books
    4. Books
    5. Specialties
    6. Reference
  3. Community
    1. Questions and Answers
    2. News and Resources
    3. Competition
  4. Compilers
    1. Open source
    2. Commercial / Open source
    3. Commercial / Closed source
    4. Online
  5. Edit
    1. Integrated Development Editors
    2. Editors
    3. Text Modes
    4. VSCode Extensions
  6. Deployment
    1. Build and Package
    2. Continuous Integration
  7. Runtimes
  8. OS and Kernels
  9. Games
  10. Frameworks
    1. Components
    2. Distributed
    3. Graphical User Interface
    4. Terminal User Interface
    5. 3D
    6. Database
    7. Web
    8. Unit Test, Testing
    9. Logging
    10. Machine Learning
    11. Automation
  11. Tools
    1. DevOps
    2. Verification
    3. Generation
    4. UML
    5. Encryption
  12. Libraries
    1. Math
    2. Science
    3. Algorithms, Containers and Protocols
    4. Cryptography
    5. Compression
    6. Patterns
    7. System Modeling
    8. Parsers, Scanners, Linters, Analysers, Interpreters and Prettyprinters
    9. Format Readers, Writers and Checkers
    10. Networking and Communication Middleware
    11. Chatting and Communication
    12. Web
    13. Graphics and Multimedia
    14. General Purpose Computing
    15. Sound
    16. Localization
    17. Utilities
    18. Robotics
    19. Linux and POSIX
    20. Windows and .NET
    21. Bindings to Other Languages
  13. Hardware and Embedded
    1. Frameworks
    2. Firmwares
    3. Drivers
    4. Controllers
    5. Communication
    6. Libraries
    7. Applications
    8. Generators
  14. Applications
    1. Office
    2. Mail
    3. Web
    4. Multimedia
    5. Automation
    6. Simulation
    7. Generators and Translators
    8. Shells, Interpreters and Emulators
    9. Programming Languages
    10. Misc

</details>

Presentation

<div align="center">

<a href="https://www.youtube.com/embed/yUqJkAZofZs"> <img border="0" src="https://img.youtube.com/vi/yUqJkAZofZs/1.jpg" style="max-width:100%;"/> </a>

<a href="https://www.youtube.com/embed/3e-BGblAMC4"> <img border="0" src="https://img.youtube.com/vi/3e-BGblAMC4/2.jpg" style="max-width:100%;"/> </a>

<a href="https://www.youtube.com/embed/0yXwnk8Cr0c"> <img border="0" src="https://img.youtube.com/vi/0yXwnk8Cr0c/3.jpg" style="max-width:100%;"/> </a>

</div>

Education

Entry Point

Tutorials

Online Books

Books

<img height="50px" width="36px" hspace="10px" src="https://assets.cambridge.org/97810095/64779/cover/9781009564779.jpg">Programming in Ada 2022 - Comprehensive.
<img height="50px" width="36px" hspace="10px" src="https://assets.cambridge.org/97810091/81341/cover/9781009181341.jpg">Programming in Ada 2012 with a Preview of Ada 2022 (2nd ed.) - Comprehensive.
<img height="50px" width="36px" hspace="10px" src="https://assets.cambridge.org/97811074/24814/cover/9781107424814.jpg">Programming in Ada 2012 - Comprehensive.
<img height="50px" width="36px" hspace="10px" src="https://images-na.ssl-images-amazon.com/images/I/41v2Gsi5zWL.SX348_BO1,204,203,200.jpg">Beginning Ada Programming: From Novice to Professional - Introduction.
<img height="50px" width="36px" hspace="10px" src="https://images-na.ssl-images-amazon.com/images/I/41SQC2F542L.SX347_BO1,204,203,200.jpg">Ada 95: The Craft of Object-Oriented Programming - General, intermediate.
<img height="50px" width="36px" hspace="10px" src="https://images-na.ssl-images-amazon.com/images/I/51CLo5yzNsL.SX422_BO1,204,203,200.jpg"> Ada Plus Data Structures: An Object Oriented Approach - Data Structures.
<img height="50px" width="36px" hspace="10px" src="https://media.springernature.com/w306/springer-static/cover-hires/book/978-1-84882-314-3"> Ada for Software Engineers - Idioms, Architecture.
<img height="50px" width="36px" hspace="10px" src="https://assets.cambridge.org/97805218/66972/cover/9780521866972.jpg">Concurrent and Real-Time Programming in Ada - Concurrency, Containers, Scheduling.
<img height="50px" width="36px" hspace="10px" src="https://media.springernature.com/w306/springer-static/cover-hires/book/978-1-4612-1854-8">Data Structures and Algorithms: An Object-Oriented Approach Using Ada 95 - Data structures, Algorithms.
<img height="50px" width="36px" hspace="10px" src="https://assets.cambridge.org/97805211/97168/cover/9780521197168.jpg">Building Parallel, Embedded, and Real-Time Applications with Ada - Concurrency, Distributed.
<img height="50px" width="36px" hspace="10px" src="https://images-na.ssl-images-amazon.com/images/I/41HIwJp0ktL.SX336_BO1,204,203,200.jpg">Analysable Real-Time Systems: Programmed in Ada - Scheduling.
<img height="50px" width="36px" hspace="10px" src="https://assets.cambridge.org/97811076/56840/cover/9781107656840.jpg">Building High Integrity Applications with SPARK - Formal verification.
<img height="50px" width="36px" hspace="10px" src="https://assets.lulu.com/cover_thumbs/1/e/1erpwvkr-front-shortedge-384.jpg">Ada and SPARK on ARM Cortex-M - Embedded.

Specialties

Reference

  • iso-standard - The 2022 revision to the Ada Standard, usually known as Ada 2022.
  • adalib - Standard Ada library specification as defined in Reference Manual.
  • Ada 2022 Reference Card - Reference Card / Cheatsheet of Ada Attributes, Aspects, Pragmas and Standard Library.

Community

Questions and Answers

News and Resources

  • adacore-blog - An insight into the AdaCore ecosystem.
  • ada-europe - An international organization, set up to promote the use of Ada.
  • acm-sig-ada - The Special Interest Group on Ada.
  • ada-resource-association - Since 1990 the Ada Resource Association's principal mission has been “To ensure continued success of Ada users and promote Ada use in the software industry”.
  • ada-information-clearinghouse - News and resources for the Ada programming language.
  • ada-planet - News Aggregator from the Ada programming language world (v3) (Ada-Planet v2 feed via Matrix).
  • adasearch - Custom search engines for finding anything related to the Ada and SPARK programming languages, without interference from other homonymous topics.

Competition

  • crate-of-the-year - Yearly prize for the best Alire crate in three categories: general, SPARK and embedded.

Compilers

Open source

GPL (with linking exception)

  • fsf-gnat - Free Software Foundation compiler for the Ada programming language which forms part of the GNU Compiler Collection. It supports all versions of the language, i.e. Ada 2022, Ada 2012, Ada 2005, Ada 95 and Ada 83.

MIT

  • hac - The HAC Ada Compiler - a small, quick Ada compiler fully in Ada.
  • byron - A community project to build an Ada compiler, toolchain, and IDE-system.

Apache License

  • augusta - Ada compiler written in Scala that targets LLVM.

Commercial / Open source

  • gnat-pro - The GNAT Pro product line offers a comprehensive toolset (IDEs, debugger, librairies, dynamic and static analysis tools) for Ada, C and C++.

Commercial / Closed source

  • janus-ada - Compiler supporting all the major features of the Ada 83, Ada 95, Ada 2005 and Ada 2012 versions of the language.
  • object-ada - PTC ObjectAda is an extensive family of native and cross development tools and runtime environments.
  • apex-ada - PTC ApexAda is one of the industry's most popular development environments for Ada and mixed Ada/C/C++ applications.
  • greenhills-ada - Green Hills Software offers the industry's first, fully validated family of Ada Cross Compilers for real-time targets.

Online

GPL (no linking exception)

  • gnat-ce (discontinued) - GNAT Community edition. A release of AdaCore GNAT for free software developers, hobbyists, and students. The run-time libraries provided with GNAT Community are licensed under GPLv3 without linking exception. It supports Ada 2012 only.

Edit

Integrated Development Editors

<img width="120px" hspace="10px" src="https://docs.adacore.com/live/wave/gps/html/gps_ug/_images/gps-main-window.png"/> The GNAT Programming Studio

Editors

  • lea - A Lightweight Editor for Ada, aims to provide an easy, script-world-like, "look & feel" for developing Ada projects of any size and level, while enabling access to full-scale development tools like GNAT. LEA includes HAC, the HAC Ada Compiler.

Text Modes

  • [gnu-emacs-ada-mode](https://www.nongnu.org/ada-mode/) - Gnu Emacs major-mode for editing Ada sources.
  • vim-ada-bundle - Maintained Ada Bundle : Complete Ada-Mode for Vim/Neovim.
  • ada-tmbundle - TextMate support for Ada.
  • bbedit-ada-module - BBEdit support for Ada.
  • ob-ada-spark - Ada/SPARK support for org-babel : Evaluate source code blocks with Gnu Emacs and org files.
  • doom-ada - Doom Emacs Ada language module with syntax highlighting, LSP and Alire support.

VSCode Extensions

Deployment

Build and Package

  • alire - A catalog of ready-to-use Ada libraries plus a command-line tool (alr) to obtain, compile, and incorporate them into your own projects. It aims to fulfill a similar role to Rust's cargo or OCaml's opam.
  • alr2appimage - A tool for automatically creating an AppImage executable from an Alire crate.
  • aura - An integrated build and source/package management tool with a more hands-on versioning approach. Alternative to alire and gprbuild. Optimized for CI/CD pipelines.
  • gprbuild - Adacore multi-language software build tool.
  • ravenadm - Administration tool for Ravenports http://www.ravenports.com.
  • synth - Next D/Ports build tool for live systems (Alternative for Portmaster and Portupgrade tools).
  • ada4cmake - CMake macros for simple gnat project inclusion.
  • cmake-ada-offa - Ada language support for CMake.
  • cmake-ada-cho3 - CMake language support for Ada, fork of [plplot]'s cross-platform support code.
  • tada - An opinionated package management tool for Ada.

Continuous Integration

Runtimes

  • bb-runtimes - GNAT bare metal board support package (BSP).
  • avr-ada - GNAT for 8-bit AVR microcontrollers.
  • ada-runtime - A downsized Ada runtime which can be adapted to different platforms.
  • cortex-gnat-rts - This package includes GNAT Ada Run Time Systems (RTSs) based on FreeRTOS and targeted at boards with Cortex-M0, M3, -M4, -M4F MCUs.
  • adawebpack - GNAT RTL for WebAssembly and bindings for Web API.

OS and Kernels

  • m2os - RTOS with simple tasking support for small microcontrollers.
  • marte-os - MaRTE OS is a Hard Real-Time Operating System for embedded applications that follows the Minimal Real-Time POSIX.13 subset. It provides an easy to use and controlled environment to develop Multi-Thread Real-Time applications.
  • muen - An x86/64 Separation Kernel for High Assurance.
  • ewok - A microkernel targeting micro-controllers and embedded systems.
  • bare-bones - An Ada port of the osdev.org minimal 32-bit x86 kernel.
  • lovelace-os - Lovelace is an effort to write a Unix like operating system using the Ada 2012 language.
  • ada-kalinda-os - Ada KALINDA is a sort of Mac Plus like OS written in Ada95.
  • Straylight - A simple monolithic RISC-V operating system developed in Ada.
  • havk - x86-64 security-focused OS being created with SPARK.
  • cubit - CuBitOS is a multi-processor, 64-bit, (partially) formally-verified, general-purpose operating system, currently for the x86-64 architecture.
  • ironclad - A kernel for several architectures striving for POSIX compatibility, used on several distributions like Gloire.
  • hirtos - A high-integrity RTOS written in SPARK Ada.

Games

  • steamsky - Roguelike in sky with a steampunk setting.
  • unity-ada-tetris - Tetris, in Ada, for the Unity game engine.
  • tictactoe - A tictactoe game written and proven in SPARK/Ada.
  • ada-gate - AdaGate is a first-person 3D sokoban puzzle game within a Stargate / Portal fantasy setting for Windows, OS-X and Linux.
  • rufas-cube - RufasCube is a puzzle game for Windows, OS-X and GNU Linux (it looks like a rubic cube but it's a slider, not a twister).
  • ada-venture - AdaVenture is a kid-friendly retro point&click game with mazes, dragons, bats & snakes.
  • retro-arcade - Space Invaders, Pacman, & Frogger games that run in a terminal on Windows, OS-X & Linux.
  • world-cup-sokerban - This is a soccer-themed, 3D sokoban puzzle game that runs on Windows, Mac OS-X and GNU Linux.
  • pasta - A game of the "match-3" genre, implemented in gnoga.
  • buttons - A simple gtkada Button Mania game.
  • mine-detector - A mine-finding game that never requires guessing.
  • play-2048 - A clone of the popular 2048 game, implemented in Ada using [asfml] for graphics and [ada-toml] for saving state.
  • bingada - Bingo application in gtkada.
  • civ-klon - Civilization-style turn-based strategy game. Requires [asfml].
  • eepers - A simple Turn-based Game in Ada (made with raylib).
  • gade - A Game Boy emulation library in Ada.
  • gade-sdl - An SDL2 Game Boy emulation front end for Gade using SDLAda.

Frameworks

Components

  • simple-components - ASN.1, MQTT client and server/broker implementation, B-trees, Multiple connection TCP servers, Chebyshev series, Mutexes, Cryptography, Objects and handles to, Doubly-linked webs and lists, ODBC bindings, Blackboards (lock-free), OpenSSL bindings, ELV/eQ-3 MAX! client implementation, Parsers, Events (plain, pulse, array of), Persistent objects and handles to, GNUTLS bindings, Persistent storage and handles to, Graphs (directed, weighted, acyclic, trees), Pools, HTTP implementation, Sets and maps, FIFO (lock-free), SMTP client implementation, IEEE 754, SQLite bindings, Inter-process communication, Stacks, Interfacing Julia language, Streams, JSON, Strings editing, LDAP, Tables (maps of strings), MODBUS client implementation, Unbounded arrays.
  • ada-util - A logging framework close to Java log4j framework, support for properties, serialization/deserialization framework for XML/JSON/CSV, Ada beans framework, encoding/decoding framework (Base16, Base64, SHA, HMAC-SHA), a composing stream framework (raw, files, buffers, pipes, sockets), several concurrency tools (reference counters, counters, pools, fifos, arrays), process creation and pipes, support for loading shared libraries (on Windows or Unix), HTTP client library on top of CURL or AWS.
  • gnatcoll-core - This is the core module of the GNAT Components Collection.
  • gnatcoll-bindings - This is the bindings module of the GNAT Components Collection.
  • gnatcoll-db - This is the DB module of the GNAT Components Collection.
  • gnatcoll-json - This is a set of helpers for writing JSON-intefaces it contains JSON parses for most of the Ada runtime components.
  • gneiss - An interface collection to be used with applications for component based systems. It aims to be easily portable/platform independent and is compatible with the ada-runtime.
  • lace - A set of Ada components to allow 3D simulations, games and GUI's in Ada.
  • asap - A set of general libraries and thick bindings for use with the AURA package management/build tool. Includes TCP, TLS, HTTP, a high-performance JSON parser/generator, and a formally verified (SPARK) UTF-8 stream decoder.

Distributed

  • poly-orb - PolyORB provides a uniform solution to build distributed applications relying either on middleware standards.

Graphical User Interface

  • gnoga - The GNU Omnificent GUI for Ada.
  • gwindows - GNU Ada Visual Interface.
  • claw - A High Level, Portable, Ada 95 Binding for Microsoft Windows.
  • gtkada - Ada graphical toolkit based on Gtk3 components.
  • qt-ada - Ada-2012 port to Qt 6 framework.
  • vtk-ada - Ada-2012 port to VTK 8.1 (Visualization Toolkit).
  • fltk-ada - Ada-2012 binding to FLTK (Fast Light Toolkit).
  • ada-gui - GUI implemented on its own task, so it doesn't require that its client give up a thread of control. Derived from gnoga.
  • adawebui - GUI based on adawebpack.
  • imgui-ada - Ada binding of the ImGui library.
  • anuklear - Ada binding to the Nuklear GUI library and the Nuklear-SDL renderer.

Terminal User Interface

  • curses - Advanced UNIX Terminal UI Ada Binding Package.
  • ncurses-ada95 - Ada95 bindings for ncurses.
  • linenoise-ada - Bindings to the Linenoise line-editing library (patched to support UTF-8).
  • areadline - Ada binding to the readline library.

3D

Database

Web

  • aws - Ada Web Server is a complete framework to develop Web based applications in Ada.

  • awa - Ada Web Application is a framework to build a Web Application in Ada 2012. The framework provides several ready to use and extendable modules that are common to many web application. This includes the login, authentication, users, permissions, managing comments, tags, votes, documents, images.

    • dynamo - Code generator used to generate an Ada Web Application or database mappings from hibernate-like XML description, YAML doctrine model or UML models.
    • ada-wiki - Ada Wiki is a small library that provides a Wiki engine.
    • ada-security - OAuth 2.0 client and server framework to secure web applications.
    • ada-el - This library provides the support for a simple Expression Language close to the Java Unified Expression Language (EL).
    • ada-asf - Ada Server Faces allows to create web applications using the same pattern as the Java Server Faces (See JSR 252, JSR 314 and JSR 344).
    • ada-servlet - Ada Servlet allows to create web applications using the same pattern as the Java Servlet (See JSR 154, JSR 315).
  • swagger-ada - Ada support for Swagger codegen: OpenAPI Generator is a code generator that supports generation of API client libraries, server stubs and documentation automatically given an OpenAPI Spec.

  • ews - Embedded Web Server is a web server construction kit, designed for embedded applications using the GNAT Ada compiler.

  • matreshka - Framework to develop information systems consisting of five major components: League, XML processor, Web framework, SQL access, and the Modeling framework.

Unit Test, Testing

  • ahven - A simple unit test library and framework for the Ada programming. language. It is loosely modelled after JUnit and some ideas from AUnit.
  • aunit - Ada unit testing framework.
  • bbt - Simple tool to black box check the behavior of an executable through the command line.
  • gnatbdd - Behavior Driven Development in Ada.
  • scripted-testing - Supports functional testing using Tcl scripts.
  • testy - Ada testing framework, part of Tada.

Logging

  • alog - Stackable logging framework for Ada.
  • elogs - Logging framework for embedded systems absent of runtime errors.

Machine Learning

Automation

  • aicwl - Collection of packages provided for design of high-quality industrial control widgets for Ada applications.
  • ada-for-automation - A4A is a framework for designing industrial automation applications using the Ada language.

Tools

DevOps

  • septum - An interactive context-based text search tool for searching large codebases.
  • powerjoular - This tool allows monitoring power consumption of multiple platforms and processes.
  • mat - Simple memory analysis tool intended to help understand where the memory is used in a program.

Verification

  • gnat-coverage - GNATcoverage is a tool to analyze and report program coverage.
  • adacontrol - Ada constructs lint tool.
  • spark-2014 - SPARK formal verification toolset.
  • acats - The Ada Conformity Assessment Test Suite, customised for GCC.
  • acats-grading - Tools for grading ACATS results, modified for Unix-like systems.

Generation

  • asn1scc - An open source ASN.1 generator to Ada type declarations and encoders/decoders.
  • ocarina - AADL model processor: mappings to Ada code; Petri Nets; scheduling tools (MAST, Cheddar); WCET; REAL.
  • fmt - Formal Methods Toolkit is a set of extension packages for Mathematica, supporting software. engineering activities related to modeling, verification and Ada code generation.
  • automate - Finite-state machine generator.
  • ajunitgen - Generator of JUnit-compatible XML reports in Ada.
  • record-flux - RecordFlux: Toolset for the formal specification of messages and the generation of verifiable binary parsers and message generators in SPARK.
  • resource-embedder - Advanced Resource Embedder to embed files in binaries by producing C, Ada or Go source files.

UML

  • ada-ml - Ada-tailored UML Modeling Language.
  • coldframe - This tool generates Ada framework code and documentation from UML models.
  • umbrello - Unified Modelling Language (UML) diagram program based on KDE Technology. Outputs Ada.

Encryption

  • ada-keystore - Ada Keystore - protect your sensitive data with secure storage.

Libraries

Math

  • math-packages - Collection of basic math routines in Ada.
  • mathpaqs - Collection of mathematical, 100% portable, packages in the Ada programming language.
  • mandelbrot-ascii - Mandelbrot renderer in "ASCII" (unicode actually, but text nonetheless).
  • lalg - Interface to dense linear algebra packages.
  • geo-energy-math - Software libraries for solving models described in Mathematical GeoEnergy (Wiley, 2018).
  • matrix-root - Compute the N-th root of a matrix.
  • hungarian - Ada binding to the fast Stachniss' Hungarian solver.

Science

  • si - Checked and unchecked SI units.
  • units-of-measurement - Library to manage units of measurement with dimension checking.
  • si_units - Utility library to pretty print physical values in proper metric units.

Algorithms, Containers and Protocols

  • ada-language-server - Adacore server implemention of the the Microsoft Language Protocol for Ada and SPARK.

  • ada-lsp - Language Server Protocol for Ada.

  • ada-lsp-client - Prototype implementation of LSP client - Visual Studio 2017.

  • ada-traits-containers - Generic Ada Library for Algorithms and Containers.

  • dequesterity - Deque/buffer generics that consist of building blocks that may be combined in various ways to create higher abstraction buffers.

  • pragmarc - PragmAda Reusable Components (PragmARCs) from PragmAda S/W Engineering.

  • booch95 - The Ada 95 Booch components are a port of Grady Booch's C++ components.

  • ada-id - Simple Ada library for generating UUIDs.

  • ada-ga - Genetic Algorithm Implementation for Ada.

  • ada-sodoku - Small Library for Sodoku grid solving / finding.

  • sl3p - Simple Layer 3 Protocol.

  • smart-pointers - A package providing a reference-counted access type Smart_Pointer.

  • hungarian-algorithm - Hungarian Algorithm implementation in Ada.

  • nb-ada - NBAda : An Ada library of lock-free data structures and algorithms.

  • paraffin - A suite of Ada 2012 generics to facilitate iterative and recursive parallelism for multicore systems.

  • deepend - Storage pool with subpool capabilities for Ada 2012, Ada 2005, and Ada 95.

  • charles - Ada 95 container library, precursor to Ada 2005+ standard containers.

  • simple-blockchain - Simple blockchain in Ada.

  • adagio - Gnutella2 (G2) network server leaf.

  • agpl - Ada General Purpose Library (Miscellaneous utilities, with a robotic flavor).

  • az3 - Ada binding for Z3.

  • chests - Bounded containers for embedded systems.

Cryptography

  • threefish - Ada Implementation of the Threefish-256 Encryption Algorithm.
  • fletcher - Trivial implementation of fletcher_16 checksum computation algorithm.
  • base58-ada - Base58 encoding and decoding in Ada.

truncated — full list on GitHub

[[curator]]
I'm the Curator. I can help you navigate, organize, and curate this wiki. What would you like to do?