Language Runtime
Built-ins
Tea exposes a small set of global `@` intrinsics for output, script control, introspection, and math.
Exported functions
Write the string representation of a value to stdout.
Write the string representation of a value to stdout with a newline.
Append a value to a mutable list in place.
Convert any value to its string representation.
Return the runtime type name of a value as a string.
Terminate the program immediately with an error message.
Exit the program with the specified exit code.
Return command-line arguments as a list of strings.
Read a single line from stdin (without trailing newline).
Read all content from stdin as a string.
Print a value to stderr without a trailing newline.
Print a value to stderr with a trailing newline.
Return true if stdin is connected to an interactive terminal.
Return the number of elements in a String, List, or Dict.
Round a float down to the nearest integer.
Round a float up to the nearest integer.
Round a float to the nearest integer.
Return the absolute value of a float.
Return the square root of a float.
Return the maximum of two floats.
Return the minimum of two floats.