Collection of Ada code examples for my blog F7L8C9.
Licensed under the MIT License. See file LICENSE.
Ada LIbrary REpository is a package manager for Ada. Similar to Cargo for Rust.
alr init --bin myproj
(use --lib
for a library crate)alr build
alr run
Install GNU Ada compiler, GPRbuild and GDB with apt install gnat gprbuild gdb
.
Install Emacs Ada mode from MELPA.
Use Windows Subsystem for Linux (WSL) to set up a Linux environment. Then install toolchain as described for Linux.
The following extensions for Microsoft Visual Studio Code are useful.