Lumina – a statically typed web-native language for JavaScript and WASM

Lumina is a statically typed, web-native language that compiles to both JavaScript and WebAssembly, enabling developers to build reactive UIs and WebGPU workloads with a unified type system.
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-lang
Create 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.js
Start the REPL:
lumina repl
lumina
CLI for check, compile, run, grammar, bundle, and REPL workflowslumina repl
with multiline input, history, and persistent declarations- JS and WASM targets
- Reactive UI runtime and browser demo
lumina-lsp
plus a VS Code extension
docs/GETTING_STARTED.md
docs/CAPABILITIES.md
docs/STDLIB.md
docs/RENDER.md
docs/WEB_NATIVE_ROADMAP.md
vscode-extension/
npm install
npm run build
npm run lint:check
npm test
CONTRIBUTING.md
SECURITY.md
SUPPORT.md
CHANGELOG.md
Licensed under either of:
- MIT (
LICENSE
) - Apache-2.0 (
LICENSE-APACHE
)
at your option.
Source: Hacker News
















