0x – A language that compiles to React, Vue, and Svelte (80% less code)
Show HN: 0x – A language that compiles to React, Vue, and Svelte (80% less code)
0x – A language that compiles to React, Vue, and Svelte (80% less code) is a company in show hn launch.
Profile
I kept running into the same problem with AI-generated frontend code: most tokens go to boilerplate, and the AI can never pick a consistent pattern. So I built a language where there's only one way to write things.0x is indentation-based (think Python), declarative, and compiles to React JSX, Vue 3 SFC, or Svelte 5. A counter component is 18 lines in 0x vs 96 in production React.page Counter: state count: int = 0 fn increment(): count += 1 layout col gap=16 padding=24 center: text "{count}" size=4xl color=cyan button "+1" style=primary -> increment() The compiler is ~3K lines of TypeScript, zero dependencies. Pipeline: Lexer → Parser → AST → CodeGen (one pass per target). It handles state, d
0x – A language that compiles to React, Vue, and Svelte (80% less code) is positioned in show hn launch, a segment that rewards a clear, focused offering.
Directory data places it at the Show HN launch stage.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: www.0xlang.com
Browse related
Create a free account