Builtins Overview
Built-in APIs and feature flags in Tish.
Secure by default
Tish runs in secure mode with no I/O features enabled by default. Only core builtins (console, Math, JSON, parsing, etc.) are available.
Feature flags
To enable network, filesystem, or process APIs:
- Run: The tish binary must be built with features, e.g.
cargo run -p tish --features http -- run main.tish. Thetish runcommand does not accept feature flags. - Compile: Pass
--feature(singular, repeatable) when compiling:tish compile main.tish -o app --feature http --feature fs --feature process
In tish.yaml, configure features under build.features for platform deploys.