Show HN: HRML – A compiled web language. Three symbols, zero dependencies
2 points
1 hour ago
| 1 comment
| hrml.dev
| HN
mendexio
1 hour ago
[-]
Hey HN, I'm the creator. HRML started from a simple thought: what if HTMX had reactivity and Alpine had server communication - unified under one compiled language?

Three prefixes: : (state), @ (events), $ (server). The Rust compiler produces standard HTML + CSS + JS. It also compiles to WASM (68KB gzipped) so it runs directly in your browser - no install, no build step.

Try the playground: https://hrml.dev/playground

Source: https://github.com/mendexio/hrml (264 tests, 5 Rust crates, MIT)

Early prototype - next up: computed properties, conditional rendering, list rendering, and server communication. Feedback and hard questions welcome.

reply