Interpreter for the i++ programming language
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.

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