playground

loading the toolchain…
# a repl with history: try 1 + 2 then it0 * 10
»

this is not a toy evaluator: it is kanso's whole toolchain compiled to webassembly, with a hand-rolled editor on top. your program compiles to a wasm module right here in the tab—kanso's own wasm backend, no llvm, no server—and runs as machine code, tail calls included; the badge under the output names the engine that ran. programs the browser backend doesn't cover yet fall back to the reference interpreter, byte-identically. integers are arbitrary-precision here, so fact 100 just works. descriptions execute when they reach the edge; there is no filesystem in a browser tab, so read_file answers with an err, exactly as the model says it should.