Menu

Tree [1f9585] main /
 History

HTTPS access


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

Read Me

Ada Examples

Collection of Ada code examples for my blog F7L8C9.

Licensed under the MIT License. See file LICENSE.

Alire

Ada LIbrary REpository is a package manager for Ada. Similar to Cargo for Rust.

  • Initialize crate with alr init --bin myproj (use --lib for a library crate)
  • Build crate with alr build
  • Run program with alr run

Linux

Install GNU Ada compiler, GPRbuild and GDB with apt install gnat gprbuild gdb.

Install Emacs Ada mode from MELPA.

Microsoft Windows

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.

Tasks

  • Command line argument parsing
  • Hello world
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.