Tea is a small, imperative scripting language: C-like syntax, explicit types, functions, arrays, dictionaries, and built-ins for I/O, strings, shell integration, JSON, and simple HTTP client/server workflows. It is a good fit for quick automation, tiny tools, and teaching—not a replacement for a large general-purpose ecosystem.

Why Tea?

Hello world

From the repository root, after building the tea binary:

./tea -c 'print("hello world");'

Or put a program in a file and run it:

str greeting = "It's tea time!";
print(greeting);
./tea first_steps.t

Learn more

The API page summarizes syntax, types, operators, and built-in functions. For build instructions and more examples, see the project README.md in the Tea2 repository.

Site generator version: 447 (built ).