Download

Get LukeLang

Download the compiler binary for your machine, or let mimo install it in one step. Version 0.3.0 — Linux, macOS and Windows.

Binary downloads

Pick your platform. Each archive contains the luke compiler (luke.exe on Windows). Unpack it and put the binary on your PATH.

Linux

macOS

Windows

Version 0.3.0. Machine-readable index: stable.json.

Installer (mimo)

Optional. mimo is a small installer script — the same idea as rustup or get-pip. It detects your OS/arch, downloads the matching binary above, and places luke in ~/.mimo/bin. You do not have to use it if you prefer a manual download.

Linux / macOS / WSL

curl -fsSL https://lukelang.org/mimo | bash

Windows (PowerShell)

irm https://lukelang.org/mimo.ps1 | iex

Already have mimo installed?

mimo inject lukelang
mimo inject lukelang@0.3.0
mimo update lukelang
mimo list
mimo doctor
mimo eject lukelang

Verify

luke                    # prints usage
mimo doctor
luke BUILD hello.luke -o hello && ./hello

Build mode needs a C compiler on the machine (cc / gcc / clang / MSVC) because LukeLang emits C and invokes your toolchain.

Editor tooling

The official extension is on the Visual Studio Marketplace. Install it from the Extensions panel by searching lukelang, or from a terminal:

code --install-extension lukelang.lukelang-vscode

Packages

mimo is also the package manager. Dependencies land in luke_modules/ and lock in luke.lock.

mimo init
mimo forge greeter
mimo forge http        # builtin → import std/http
mimo run

Then import a registry package:

import luke/greeter

Registry: packages.lukelang.org · index index.json (also lukelang.org/packages). luke PKG still works as the low-level engine.

Build from source

Contributors still clone and build. You need a C++17 compiler, a C compiler, make and git.

git clone https://github.com/lucasdmarshall/LukeLang.git
cd LukeLang/vm && make
./build/luke BUILD ../examples/build/hello.luke -o hello && ./hello

Optional dependencies

  • WASI SDK

    -target wasm / browser — unpack under .tools/wasi-sdk or set LUKE_WASI_SDK.

  • SQLite / sodium / libpq

    Only for the matching std/ libraries. Core builds without them.

# Debian / Ubuntu
sudo apt install build-essential git libsqlite3-dev libsodium-dev libpq-dev