Tea — a strongly typed scripting languageCompiles native via LLVM
Tea
DocsPlaygroundExamplesReferenceCommunity
GitHub

Tea Language

A strongly typed scripting language for native tools.

© 2026 Tea Language.

ContributingCommunityRepository

Language Runtime

Built-ins

Standard Library

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

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 encoding and decoding utilities.

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.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.