logoalt Hacker News

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

32 pointsby light_ideaslast Thursday at 4:02 PM12 commentsview on HN

Comments

duesabatitoday at 1:47 PM

I think this project is super interesting and I really like the rust inspiration here. How can one get in touch with you and/or help out the project?

iddantoday at 1:16 PM

Syntax looks cool. Would have expected proper syntax highlighting in the website (and plugin for IDEs). The website is currently too convoluted until you see actual syntax would highly suggest having code block at the front. See for good reference the landing page of ruby: https://www.ruby-lang.org/en/

show 1 reply
tegeektoday at 10:41 AM

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.

show 2 replies
light_ideaslast Thursday at 4:02 PM

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.

show 2 replies
mapcarstoday at 10:01 AM

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