Installation
Requirements
- Rust 1.70+ (for building from source)
- Cargo (comes with Rust)
Install from Crates.io
bash
cargo install lumen-langBuild from Source
bash
git clone https://github.com/alliecatowo/lumen.git
cd lumen
cargo build --releaseThe binary will be at target/release/lumen. Add it to your PATH:
bash
export PATH="$PATH:$(pwd)/target/release"Verify Installation
bash
lumen --versionEditor Support
VS Code
Install the Lumen extension from Open VSX:
bash
# Via command line if you use code-server or compatible editors
code --install-extension lumen-lang.lumen-langOr search for "Lumen" in the Extensions view (ensure you are using a registry that includes Open VSX if not using official VS Code).
Features:
- Syntax highlighting
- Basic autocompletion
- Error diagnostics
Other Editors
Lumen has a Tree-sitter grammar at tree-sitter-lumen/ that can be used with:
- Neovim (via nvim-treesitter)
- Helix
- Emacs (via tree-sitter)
WASM Support
For browser/edge deployment:
bash
# Install wasm-pack
cargo install wasm-pack
# Build for browser
cd rust/lumen-wasm
wasm-pack build --target webSee the Wasm Guide for details.