INSTALL ABLA

From source to something real.

Choose a complete toolchain for your machine. Each download comes from the published GitHub release, with its matching checksum.

Latest published release: v0.2.79

Linux x86-64

The default archive includes the static compiler, standard library and runtime, with LLVM built into the compiler.

abla-toolchain-x86_64-linux.tar.gz

Linux x86-64 · Dynamic toolchain

Includes the pinned, patched LLVM tools. Choose this archive for builds that load shared C libraries during compile-time execution.

abla-toolchain-dynamic-x86_64-linux.tar.gz

Standalone Linux compilers

Use these binaries with an existing toolchain layout. For a fresh setup, start with a complete archive above.

Linux x86-64 · Static compiler

The default standalone compiler. Runs without a shared-library loader. Keep a matching standard library and runtime for builds.

ablac-x86_64-linux

Linux x86-64 · Dynamic compiler

Use this variant if your build needs a shared C library during compile-time execution.

ablac-dynamic-x86_64-linux

Verify, unpack, run.

Save SHA256SUMS, SHA256SUMS.sig, and the project's release-signing.pub alongside your download. To verify the signature and the file together, run tools/verify-release.sh from the release tag's checkout in Bash (Git Bash or WSL on Windows). Pass the directory containing the downloads and the exact filename you downloaded.

bash tools/verify-release.sh /path/to/downloads abla-toolchain-x86_64-linux.tar.gz

To verify manually with OpenSSH, run these commands in the download directory and set archive to your download's filename.

awk 'NR == 1 { print "ablac-release " $1 " " $2 }' release-signing.pub > allowed-signers
archive=abla-toolchain-x86_64-linux.tar.gz
ssh-keygen -Y verify -f allowed-signers -I ablac-release -n abla-release -s SHA256SUMS.sig < SHA256SUMS &&
  awk -v archive="$archive" '$2 == archive { print }' SHA256SUMS | shasum -a 256 -c

Extract the verified archive and add its bin directory to your PATH.

Save the first tour program as hello.ab, then run:

ablac --version
ablac run hello.ab

The packaged wrapper locates the compiler and standard library. Keep the archive's directories together. Raw compiler files are for bootstrap and custom toolchain layouts, not a substitute for the complete archive.

About the static compiler

The default Linux x86-64 standalone compiler has been static since v0.2.65. The default Linux x86-64 toolchain archive switched to static in v0.2.66. Linux programs are libc-free by default unless their dependencies require C libraries.

Full installation and toolchain notes · All release assets

Run Abla on Windows

After verifying the ZIP, extract it in PowerShell. Add the extracted toolchain's bin directory to your PATH to use ablac from any project.

Windows x86-64

Expand-Archive .\abla-toolchain-x86_64-windows.zip -DestinationPath .
.\abla-toolchain-x86_64-windows\bin\ablac.exe --version

Windows ARM64

Expand-Archive .\ablac-windows-arm64.zip -DestinationPath .
.\abla-toolchain-aarch64-windows\bin\ablac.exe --version

Working on the compiler?

Use the repository's pinned development environment, then build the current sources.

git clone https://github.com/AndreBaltazar8/ablac.git
cd ablac
nix-shell
make ablac
build/ablac --version

Start learning Abla