Back to browse
GitHub Repository

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.

114 starsTypeScript

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

by light_ideas·Apr 6, 2026·2 points·0 comments

AI Analysis

●●SolidWizardryBold Bet

Built-in reactive runtime and dual JS/WASM targets challenge React and TypeScript dominance.

Strengths
  • Includes LSP and VS Code extension at launch, skipping usual tooling debt.
  • Hindley-Milner inference plus traits offers flexibility TypeScript lacks without verbosity.
  • Browser demo runs without React, proving the reactive runtime works.
Weaknesses
  • Zero ecosystem libraries compared to TypeScript, Rescript, or Gleam communities.
  • Adopting a new language requires massive team buy-in regardless of merits.
Target Audience

Frontend developers seeking type safety without TypeScript complexity

Similar To

Rescript · Gleam · Elm

Post Description

Lumina is a statically typed, web-native language that compiles to JavaScript and WebAssembly.

It has HM type inference, algebraic types, traits, a reactive UI runtime, a REPL, an LSP, and a browser demo written in Lumina itself. The current demo runs without React and uses a Vite plugin that compiles .lm files directly for the browser.

GitHub: https://github.com/nyigoro/lumina-lang npm: https://www.npmjs.com/package/lumina-lang

I’d love feedback on the language design, the web-native direction, and the developer experience.

Similar Projects