The Dewy programming language
Programs to build on
Each displayed program has an explicit expected result checked with the current compiler.
A small value tour
Point:type = [x:int64 y:int64=22]
let point:Point = [x=20]
printl(point.x+point.y)Expected stdout: 42. The complete executable tour includes arrays, records, generics, strings and optionals.
Larger examples
- Paddle — a game example; build locally for interactive input.
- Word count — text processing acceptance program.
- Error pipeline — explicit error alternatives and propagation.
Read their expected outputs and fresh failures in the generated ladder. These links do not claim WebAssembly support.
Run in your browser
Try precompiled examples. Source is shown next to each runnable program. Arbitrary source editing and in-browser compilation are not available.