File | Date | Author | Commit |
---|---|---|---|
.vscode | 2024-07-31 |
![]() |
[6f4bae] Adjust project file location, add gnat, gprbuid... |
hello_ada | 2024-07-30 |
![]() |
[f6d8b8] Create hello world example with Alire |
hello_c | 2024-09-04 |
![]() |
[19955c] Add example for interfacing with C |
.editorconfig | 2024-07-02 |
![]() |
[6183b6] First version |
.gitignore | 2024-09-04 |
![]() |
[e65ef8] Remove empty line |
.markdownlint.json | 2024-08-06 |
![]() |
[92b674] Disable rule for long lines |
LICENSE | 2024-07-02 |
![]() |
[6183b6] First version |
README.md | 2025-02-02 |
![]() |
[1f9585] Sections cleanup |
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.