The playground#

The playground runs the whole compiler in your browser, as WebAssembly, with no server: type Temper on the left, and see each language's translation, the errors, and what your code and tests log, as you type. Links share the code, which travels in the URL itself. It's published with the docs site, which links back to it.

Building it, and how it fits together, is in site/playground, and how it works in the internals.

The REPL tab#

REPL, beside Editor in the top bar, swaps the editor for a REPL, as tempest repl runs in a terminal: type an input, and see its result as interactive#N: value, with what it logged, its errors, and its warnings. The editor's code is input 0, so inputs can call what it declares; edit it, and the REPL starts again from it, with your inputs run again. The editor's tests run once, as input 0's, and the REPL shows their summary, Tests passed: 3 of 3, with any failures; runTests() runs them again against your newest definitions, as in tempest repl. Tests typed into the REPL don't run.

Note: these docs link only this playground, but Temper's own README still links an older one, play.temperlang.dev, and the old site's terms of use name playground.temper.systems (inconsistencies).