Docs
Language and workflow guides based on the current compiler, examples, and CLI implementation.
Writing Tea with a coding agent? Start with the agent documentation index or the Markdown quick reference. For documentation matching your installed version, run tea docs.
Language
Bindings, blocks, strings, and core syntax.
Primitive values, lists, dicts, optionals, and inference.
Named functions, lambdas, locals, and return values.
Custom data types with named fields.
Type parameters for functions and structs.
Use `case` to branch on variants and values.
Typed errors, `throw`, and `catch` blocks.
Split code across files and import stdlib modules.
Write `test` blocks and use `std.assert`.