Backends

Download the compiler, then build locally

Chelis ships prebuilt compiler artifacts by host platform. Install the compiler artifact, put the binary on your path, and use chelis build to emit the local backend source you need.

Prebuilt compiler artifacts

Pick the artifact for the machine where you run the compiler. The build target is selected later, when invoking chelis build.

Linux x86_64

chelis-<version>-linux-x86_64.tar.gz

macOS arm64

chelis-<version>-darwin-arm64.tar.gz

Other hosts

Build the compiler from source, then use the same chelis build flow.


Install from a release artifact

Release assets are archived compiler builds. Unpack the matching artifact and add the bundled binary directory to PATH.

BashLinux x86_64 example
gh release download --repo Chelis-Lang/chelis --pattern 'chelis-*-linux-x86_64.tar.gz'
tar -xzf chelis-*-linux-x86_64.tar.gz
export PATH="$PWD/chelis/bin:$PATH"

Build targets

A Chelis source file can be built to C, HIP, or Metal. The compiler emits source and runtime artifacts for the selected target; local native toolchains handle the final platform-specific compile step.

C

CPU

Portable C output for local native compilation and reference runs.

HIP

AMD GPU

HIP source for AMD accelerator builds.

Metal

Apple GPU

Metal source for Apple Silicon builds.

Bashtarget selection
chelis build app.ch --target c
chelis build app.ch --target hip
chelis build app.ch --target metal