Tea — a strongly typed scripting language
Tea
DocsPlaygroundExamplesReferenceCommunity
GitHub

Tea Language

A strongly typed scripting language for native tools.

© 2026 Tea Language.

Agent documentationContributingCommunityRepository

Language Runtime

Built-ins

Standard Library

std.argsstd.assertstd.audiostd.encodingstd.envstd.fsstd.hashstd.httpstd.netstd.jsonstd.mathstd.parsestd.pathstd.processstd.randomstd.raylibstd.regexstd.stringstd.timestd.url

Read as Markdown

Reference

Reference

Built-ins and stdlib modules generated from the compiler and checked-in Tea stdlib sources.

Language Runtime

Built-ins

Tea exposes a small set of global `@` intrinsics for output, script control, introspection, and math.

Standard Library

std.args

Command-line argument parsing utilities.

std.assert

Assertion helpers for tests and runtime checks.

std.audio

Blocking native synth helpers for generated audio.

std.encoding

Binary-to-text encodings: base64, URL-safe base64, and hex.

std.env

Environment variable access and working directory management.

std.fs

Filesystem operations for reading, writing, and managing files and directories.

std.hash

Digests and checksums: SHA-256/512, HMAC-SHA256, CRC32, and FNV-1a.

std.http

Blocking HTTP client helpers for tool-style scripts.

std.net

Blocking TCP and UDP socket primitives.

std.json

JSON values with checked parsing and schema validation.

std.math

Extended math: powers, logarithms, trigonometry, and float utilities.

std.parse

Parsing helpers for turning text into typed Tea values.

std.path

Path manipulation utilities for working with file paths.

std.process

Process execution for running subprocesses and capturing their output.

std.random

Pseudo-random values from a global xoshiro256++ generator.

std.raylib

Native Raylib bindings. Requires an installed Raylib library. C symbol names are preserved. See docs/guide/native-bindings.md for ABI rules. Struct calls currently require arm64 macOS. Checked against Raylib 6.0.

std.regex

Regular expression pattern matching and text manipulation.

std.string

String manipulation utilities for common text operations.

std.time

Time helpers for tool-style scripts.

std.url

URL encoding and composition helpers for building HTTP requests.