API Documentation

core

Built-in types, collections, protocols, effects, and runtime interfaces.

array

A growable, copy-on-write sequence with value semantics.

string

String is a UTF-8 byte buffer. Byte-level access lives behind the explicit `utf8()` view; `byte_count` is the buffer length in BYTES, not user-perceived characters. Equality is byte equality: canonically equivalent strings in different normal forms (NFC "é" vs NFD "é") compare unequal.

string_builder

Unique growable UTF-8 construction. Appending is amortized O(total bytes), and finish transfers the allocation into an immutable String without copying.

text

Deep, grapheme-safe text algorithms shared by String and Substring. Character-shaped methods only mint and consume opaque StringIndex values; byte offsets remain confined to UTF8View and compatibility search.

unicode

UTF-8 and Unicode segmentation support for String's Character layer.

unicode_data

GENERATED by gen_unicode from UCD 17.0.0 - do not edit. Grapheme-cluster-break categories (UAX #29), one flat partition merging Grapheme_Cluster_Break, Extended_Pictographic, and InCB. The table is a sorted boundary list: entries of four base-128 septets encoding start_codepoint * 32 + category. See src/bin/gen_unicode.rs for the encoding and regeneration story.

Standard Library

14 libraries shipped with TalkTalk.

ansi

Terminal colors and styled strings. 1 module.

coop

Cooperative task scheduling. 1 module.

dict

Key-value collections. 1 module.

fs

File and directory operations. 1 module.

html

HTML syntax and rendering support. 2 modules.

http

HTTP request and response support. 1 module.

net

Network connections and transport primitives. 1 module.

os

Operating system and environment services. 1 module.

Package

Package declarations and dependency sources. 1 module.

syntax

The TalkTalk lexer, parser, and typed syntax tree. 6 modules.

talk-doc

HTML API documentation generation. 10 modules.

talk-md

Dependency-free Markdown parsing. 1 module.

task

Tasks, channels, cancellation, and deadlines. 1 module.

testing

Assertions and automated test support. 1 module.