Lumina — a statically typed, web-native language that targets JavaScript and WASM

April 14, 2026

What is Lumina?

It has been reported that Lumina is a statically typed, web-native language with Hindley–Milner type inference, algebraic data types, and trait-based polymorphism, compiled to both JavaScript and WebAssembly. Bold claim: most languages make you choose safety or the web; Lumina allegedly wants neither. The project lives on GitHub and was shared on Hacker News, and the README includes a tiny "hello world" and a one‑line npm install to get started — npm install -g lumina-lang — so getting your hands dirty is intentionally low friction.

Tooling and targets

The repo bundles a CLI for check, compile, run, grammar, bundle and an interactive REPL with multiline input, history, and persistent declarations. It has been reported that Lumina also offers a lumina-lsp and a VS Code extension, plus docs and development scripts. Official targets are ECMAScript modules and WASM, and there’s a browser demo demonstrating a reactive UI runtime; the project alleges you can build reactive UIs, WebGPU workloads, and WASM modules with the same type system.

Why it might matter (and what to watch)

Why care? Because TypeScript solved ergonomics on the web, but not every team is satisfied with its safety model — and Rust brought safety to WASM, but not the DOM. Lumina pitches a middle way: high-level type features with direct web targets. Skeptics will point to tooling, ecosystem and performance polish — and rightfully so. This is early-stage open source; it has been reported that the repo includes docs, tests, and a roadmap, but real adoption will hinge on libraries, bindings and everyday developer ergonomics.

If you’re curious, clone the repo and poke around. Will it unseat existing choices? Probably not overnight. But for devs tired of juggling TypeScript, Rust and glue code, Lumina might feel like a breath of fresh air — or, at least, an interesting experiment worth bookmarking.

Sources: github.com/nyigoro, Hacker News