Tutorials
Four short tutorials, each building a small, complete, runnable program. Every code block on these pages has actually been run against the interpreter - if you copy it exactly, it should behave exactly as described.
10 min
1. Your first script
Write, save and run a script; variables, output(), and a simple function.
2. Build a calculator
A loop-driven arithmetic calculator using request(), string splitting, and if/elseif chains.
3. Closures & private state
Use nested functions to build counters and a tiny bank account with genuinely private balance.
15 min4. Structs across modules
Split a struct into its own file and require it from a second file.
Prefer to learn by reading real, larger programs? See Example programs for the interpreter's own test-suite programs - a bank account manager, an inventory system, and more.