Most languages make you choose: safety or the web. Lumina doesn't.
Lumina is a statically typed, web-native language with HM type inference, algebraic types, and trait-based polymorphism, compiled to JavaScript and WebAssembly. Build reactive UIs, WebGPU workloads, and WASM modules in the same language, with the same type system.
npm install -g lumina-langCreate hello.lm:
fn main() -> void {
print("Hello, Lumina!")
}
Run the basic workflow:
lumina check hello.lm
lumina compile hello.lm --target esm --out hello.js
node hello.jsStart the REPL:
luminaCLI for check, compile, run, grammar, bundle, and REPL workflowslumina replwith multiline input, history, and persistent declarations- JS and WASM targets
- Reactive UI runtime and browser demo
lumina-lspplus a VS Code extension
docs/GETTING_STARTED.mddocs/CAPABILITIES.mddocs/STDLIB.mddocs/RENDER.mddocs/WEB_NATIVE_ROADMAP.mdvscode-extension/
npm install
npm run build
npm run lint:check
npm testCONTRIBUTING.mdSECURITY.mdSUPPORT.mdCHANGELOG.md
Licensed under either of:
- MIT (
LICENSE) - Apache-2.0 (
LICENSE-APACHE)
at your option.