Early preview: syntax, standard library APIs, and tooling may change.

FoundationsInstallation

Installation

Install the latest dev release, verify the binary, and keep source builds for compiler development.

Install The Dev Release

The easiest way to try Blorp is the latest dev release. The installer downloads the matching binary for your system and writes one executable to ~/.local/bin/blorp.

terminal
curl -fsSL https://raw.githubusercontent.com/kablorp/blorp/main/scripts/install-dev | bash

Try it

terminal
~/.local/bin/blorp --version

C Compiler Requirement

The dev release installs the Blorp command. To compile and run Blorp programs, you still need a C compiler such as clang or gcc.

terminal
cc --version

Uninstallation

The dev install is just one binary. Remove that file when you no longer want the installed dev release.

terminal
rm -f "$HOME/.local/bin/blorp"

Build From Source

Source builds are mainly for compiler development. Install OCaml 4.14.x, dune, menhir, make, git, and a C compiler, then build from the repository. Local builds write ./blorp in the repository root; use that local binary for development commands instead of the installed dev release.

terminal
git clone https://github.com/kablorp/blorp.git
cd blorp
make
./blorp run examples/hello.brp