Try it
curl -fsSLo wantzel \
https://github.com/wantzel/wantzel/releases/latest/download/wantzel-linux-x86_64
chmod +x wantzel
printf '%s\n' 'import io; begin io.puts(STDOUT, "hello\n"); end.' > hello.wz
./wantzel hello.wz hello && ./hello
Why
AI-generated code can look correct while still containing mistakes. Wantzel rejects invalid programs early and reports the file, line and reason.
- Fast feedback — compiles its own 8,100 lines in about 10 ms.
- No dependencies — the compiler and generated programs are static binaries. No packages or runtime to install.
- Clear errors — rejected code reports the file, line and reason.
Explore
Read the language reference or browse complete examples, including MCP and HTTP servers, an HTTPS client and server, a file server and an OAuth flow. TLS 1.3 is written in Wantzel itself, without OpenSSL.