Hac

Website:

https://hacadacompiler.sourceforge.io/

Author:
  • Gautier de Montmollin
Maintainer:
  • gdemont@hotmail.com
License:

MIT

Version:

0.40.0

Alire CI:

Dependencies:

No dependency.

Dependents:
  • image/svg+xml lea
Badge:

HAC Ada Compiler: a small, quick Ada compiler covering a subset of Ada

#hac #compiler #virtual-machine #native #semantic #parser #advent-of-code

 hac logo

HAC (HAC Ada Compiler) is a small, quickly compiling, 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 temp file - all is done in memory!
  • Portable, fully programmed in Ada.
  • Can be embedded into another software - see the LEA editor - and even exchange data with it - see the demo/data_exchange/exchange_native_side.adb demo.
  • Free, open-source.