HAC version 0.40

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.

Home page: https://hacadacompiler.sourceforge.io/
Sources, site #1: https://sourceforge.net/projects/hacadacompiler/
Sources, site #2: https://github.com/zertovitch/hac
Alire Crate: https://alire.ada.dev/crates/hac

:new: What’s new in this version:

  • Source stream is buffered: ~3x faster build on large sources
  • HAT (HAC Ada Toolbox) package: added Create_Directory, Create_Path and Delete_Directory
  • Added warning on variables read before they are written

Enjoy!

9 Likes

I just happened to be looking at this today. The manual is a work of art. I enjoyed reading it.

Cantamina, Thank you for your comment, Stef

I just complied HAC on MacOs Sequoia using gnat 14.1.0 and ran the example gallery. No problems at all. Well done, keep it up :slight_smile:

1 Like