A minimalist, small, interpreted programming language written entirely in Go. Designed to run natively as a lightweight CLI tool and seamlessly in the browser via WebAssembly.
- Fast execution — leverages Go's runtime to execute interpreted scripts efficiently.
- Lightweight & self-contained — distributed as a single compiled binary for the CLI. No heavy dependencies or virtual machines required..
- No complex setup — no environment configs to fight with. Download the executable or run it online to start coding instantly.
- Simple & fun syntax — a readable syntax with keywords like
bamboo,iff/otherwise, and functions likeecho/echoln.
tinypanda— Run the interactive TinyPanda REPL.tinypanda run <file.tp>— Execute a script natively on your system.tinypanda --lexer— Run the TinyPanda REPL in lexer mode.tinypanda --parser— Run the TinyPanda REPL in parser mode.tinypanda --help— Display usage instructions, options, and available flags.tinypanda --version— Print the current version of the TinyPanda interpreter.
No installation required. Head over to the web-based playground powered by WebAssembly:
Launch the tinypanda Playground
Download the latest binary for your OS from the Releases page or download latest binary.
Create a file named main.tp:
bamboo name = "TinyPanda";
echoln(name + " is fun!!!");
bamboo sayhello = fn(x) {
echoln("Hello ", x);
return "This is cool!!";
};
bamboo msg = sayhello(name);
echoln(msg);
Run it via the CLI:
tinypanda run main.tpFor the complete reference manual and language specification, see the tinypanda documentation.
Released under the MIT License.