KAIN Web Playground
This is a simplified browser version of the KAIN compiler, compiled to WebAssembly. The full CLI supports
more features.
What works here:
- Functions, variables, expressions
- Pattern matching and control flow
- JSX components
- Multi-target output (JS, Rust, HLSL)
Not yet in browser:
- Comptime evaluation
- @vertex/@fragment shader attributes
- Running/interpreting code
For the full experience, install via cargo install kain-lang