Something went wrong. Try again.
Interpreter for the i++ programming language
Something went wrong. Try again.
Files
- Rust 76%
- Svelte 21%
- TypeScript 1%
- Nix <1%
- Python <1%
- 1 more language <1%
README.md
i++ #
A tiny, terrible language in the Iota and Jot family.
i++ is a parser, interpreter, and lambda-calculus evaluator for the SKI combinator calculus, with both a native CLI REPL and a WASM-backed web REPL.
- Live REPL: https://ipp.saxxie.dev
- Umbrella site: https://saxxie.dev
- Source: https://tangled.org/saxxie.dev/i_plus_plus
Features #
- Universal iota combinator as the only primitive.
- Standard combinator prelude:
I,K,S,B,C,T,M, … - Elementary math library via EML — exponentials, logarithms, and complex numbers.
- Switch between lambda notation and raw combinator output.
- Runs in the browser as a compact WASM module.
- Native CLI REPL for quick experiments.
Quick example #
import Combinators
S K K x
# ⇒ x
Development #
This project uses Nix flakes for its toolchain.
nix develop # enters the dev shell
cargo test # run the Rust test suite
just web-dev # build WASM and start the SvelteKit dev server
See AGENTS.md for detailed project conventions.
Deployment #
The web frontend is a SvelteKit app built for Cloudflare Pages:
just web-build # produces web/.svelte-kit/cloudflare
CI on push to main runs tests, builds the WASM, builds the SvelteKit app, and deploys to Cloudflare Pages.
Background #
License #
MIT