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 right here in the tab, through the same emitter a native build uses and with no server, and runs as machine code against kanso's runtime built for wasm32, tail calls included; the badge under the output names the engine that ran. a browser that cannot load the runtime runs the reference interpreter instead. descriptions execute when they reach the edge; there is no filesystem in a browser tab, so read_file and read_bytes answer with an err, exactly as the model says it should.