Sloplang
A functional scripting language with pipes, pattern matching, and a playful syntax.
Rust, WebAssembly
Sloplang
Sloplang is a small functional programming language I vibecoded in order to express my vision for a small language built to tackle Advent of Code-esque coding problems. It runs via a Rust-powered interpreter, and is meant to be sugary as hell with its syntax to allow for concise solutions that aren't just correct, but feel right.
The interpreter compiles to WebAssembly, so you can try it right here in your browser.
Loading WASM...
Language Highlights
- Pipeline operator
|for chaining operations - Implicit lambdas with
?placeholder syntax - First-class functions, closures, and currying
- Pattern matching with cond-style
match - Strings that work as lists —
reverse,where,mapall work on strings - First-class 2D grids with built-in
flood_fillandbfs - Cartesian products with
*for brute-force search