#1140536 ITP: hac -- HAC Ada Compiler - a small, quick Ada compiler fully in Ada

#1140536#5
Date:
2026-06-22 10:18:05 UTC
From:
To:
* Package name    : hac
  Version         : 0.42.0
  Upstream Contact: Gautier de Montmollin <gdemont@hotmail.com>
* URL             : https://github.com/zertovitch/hac
* License         : MIT
  Programming Lang: Ada
  Description     : HAC Ada Compiler - a small, quick Ada compiler fully in Ada

HAC (HAC Ada Compiler) is a small, quick, open-source Ada compiler, covering a
subset of the Ada language. HAC is perhaps the first open-source (albeit partial)
Ada compiler fully programmed in Ada itself.

Features:
 * Quick!
 * Short programming-compilation-run-test cycles.
 * Perfect for scripting jobs.
 * Compiles Ada sources from any stream - file, internet, editor data, Zip archive.
 * Compilation leaves zero compilation file - all is done in memory!
 * Portable, fully programmed in Ada.
 * Can be embedded into another software - and even exchange data and Ada sources
   with it.
 * Hundreds of examples, demos and tests included.
 * Permissive license (MIT).
 * Free, open-source.

HAC is usefull as a scripting language with very clear syntax. It compiles and
executes subset of Ada with internal P-Code virtual machine.

HAC is available as an Alire crate (https://alire.ada.dev/crates/hac).

This package needs a sponsor.