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, map all work on strings
  • First-class 2D grids with built-in flood_fill and bfs
  • Cartesian products with * for brute-force search

Get Started

You are not logged in.