AdaLogic BASIC

A modern, typed BASIC for programs, games, and real systems. Readable like a book, checked like a contract.

Free and open source · sixteen compile targets · the compiler bootstraps itself byte-for-byte.

Readable. Correct. Everywhere.

ALB keeps BASIC's first promise — code a human can read — and adds the checks a systems language owes you.

Readable

Explicit LET, typed variables, honest END IF / END WHILE / END FUNCTION blocks. Programs read top to bottom like they were written — because they were.

Correct

Contracts on routines — REQUIRE/ENSURE — range-checked subtypes, and a self-hosting compiler whose own rebuild comes out byte-identical. Determinism you can audit.

Everywhere

Sixteen compile targets: native x86-64 via FASM and NASM, C, TypeScript, WebAssembly for the browser, Ada — and down to 6502 assembly for the machines that started it all.

Get ALB

Three doors, one compiler — take whichever you like.

GitHub Releases

Every tagged build: albt, the MALBR micro compiler, the stdlib, and the examples kit.

Browse releases ↗

Files on this site

Mirrored installers and archives served straight from alb-lang.dev — streamed, checksummed, and attachment-downloaded.

/files

alb-lang.org

The main site hosts the full download tree — every platform build, plus the Windows toolchain bundles.

alb-lang.org/downloads ↗
> albt.exe gcd.alb -t FASM --build --metrics
> gcd.exe
gcd(252, 18) = 18

One language, three compilers

albt

The flagship — the complete ALB dialect to all sixteen backends. Prolog-style logic (KNOWS/FIND), inline assembly, SIMD math, reversible and temporal blocks.

MALBR

Micro ALB Rust — emits #![no_std] Rust for embedded boards. Static memory, no heap, no OS underneath; the compiler itself is tiny enough to read.

MALB

ALB written in ALB — the self-hosted compiler that compiles itself and produces the same bytes every time. A bootstrap you can verify by diffing.

Prefer zero install? The browser IDE compiles and runs ALB right in the tab.

Learn the language

Documentation, samples, and lessons live on the main site — this page stays focused on the compiler.

Handbook

The language reference — types, contracts, blocks, stdlib — written like a manual, not a blog.

alb-lang.org/handbook →

Examples gallery

Runnable programs — graphics, windows, games — compiled with the real toolchain and open to read.

alb-lang.org/examples →

Learn — the Academy

Interactive lessons checked in the browser, from the first PRINT to real projects.

alb-lang.org/learn →

ALB IDE

The real-time live code editor — free to use, fully sandboxed, runs right in the browser.

alb-lang.org/alb-ide →

The ALB family

alb-lang.org

The whole platform — the language plus the Academy, studios, Wiki, Atlas, Library, News, and community around it.

alb-lang.org →

alb-lang.com

Our second address — coming soon, already up and running.

alb-lang.com →