Installation guide

Install code-lang

Currently built from source with Cargo. Pre-built binaries and a one-line install script are coming soon.

Linux

detected

Installs to ~/.local/bin. The script will tell you if that directory needs adding to your PATH.

Shell
bash / zsh / sh
curl -fsSL https://raw.githubusercontent.com/Walon-Foundation/code-lang/main/install.sh | sh

Build from source

Requires Rust (stable, 1.80+). The repo is a Cargo workspace — all three binaries build together.

git clone https://github.com/Walon-Foundation/code-lang
cd code-lang
cargo build --release

Binaries land in target/release/. Add that directory to your PATH or copy the binaries to /usr/local/bin/.

Usage

Run the REPL

code-lang
>> let x = 10;
>> x * x;
100
>> exit

Run a script

code-lang hello.cl

Scripts use the .cl extension.

Tooling — coming soon

The workspace builds three binaries. The formatter and language server are currently skeleton stubs — they will be wired up in upcoming releases.

code-lang

The interpreter. Run scripts or start the REPL.

stable
code-lang-fmt

Formatter with check and lint subcommands. code-lang-fmt check file.cl exits 1 on parse errors.

in progress
code-lang-lsp

Language server — parse diagnostics, completions, and hover in your editor.

in progress
An install script (curl -sSf https://… | sh) will install all three binaries into ~/.code-lang/bin/ so the VS Code extension can find them automatically — no PATH changes needed.

Next steps

Getting started

Write your first script.

Language reference

Full syntax guide.

Standard library

All 12 built-in modules.