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

github.com

15 points by light_ideas 5 days ago


tegeek - 38 minutes ago

A good effort, but i failed to see any use case why someone will select Lumina over TypeScript. Infact Lumina itself is written in TypeScript.

light_ideas - 5 days ago

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.

mapcars - an hour ago

It would be helpful to show some clarification on what the benefits are compared to TypeScript