Programming Language

Nocter

A self-contained systems language built around simplicity, encapsulation, and foolproof design.

Standard Library

This directory is the sole authority for the portable public modules distributed with Nocter. Every module index.nct owns its compiler-checked public declarations and declaration doc comments. The catalog below assigns each longer observable subject to one behavior guide. A guide may span tightly coupled modules when separating their cross-operation invariants would create duplicate authorities. Declarations answer what can be called; guides explain observable behavior, failure, complexity, and invariants without repeating signatures. The package identity itself is defined by the checked root declaration.

Language constructs and target primitives are referenced from their owning specification chapters rather than redefined here. Generated contract pages show the exact checked index.nct source: only declarations with public language visibility are public API, while visible see edges and restricted declarations remain source-level module assembly and package contracts. Independent package-only modules live under std/internal and are excluded from generated navigation. The guides below cover modules whose observable behavior needs more explanation than declaration comments.

Behavior Guide Authority

Observable subjectSole guideChecked contracts
borrowed UTF-8 textBorrowed Textstd/str
owned UTF-8 textOwned Stringsstd/string
growable sequencesVectorsstd/vec
inline fixed-capacity sequences and byte stagingFixed-Capacity Collectionsstd/fixed
borrowed sequencesSlicesstd/slice
borrowed parsing windowsBorrowed Scanningstd/scan
fixed-width binary scalar encodingBinary Scalar Codecsstd/bytes
canonical hexadecimal bytesHexadecimal Bytesstd/hex
standard and URL-safe Base64 bytesBase64 Bytesstd/base64
cryptographic content digestsCryptographic Digestsstd/digest
accidental-corruption checksumsCRC-32 Checksumsstd/checksum
streaming compressed representationsStreaming Compressionstd/compress
streaming archive entries and safe relative pathsStreaming Tar Archivesstd/archive
iteration and collectionIterationstd/iter, std/iter/collect
value formattingFormattingstd/fmt
byte streams and bufferingI/Ostd/io, std/io/buffer
paths and filesystem operationsFilesystemstd/path, std/fs
durable local byte storageDurable Local Byte Storagestd/store
source-neutral configuration, publication, and input adaptersSource-Neutral Configurationstd/config, std/config/arguments, std/config/environment, std/config/json
numeric values and text conversionNumeric Valuesstd/num
total ordering and comparison resultsTotal Orderingstd/order
allocation and storage failureAllocation and Failurestd/mem
recoverable failure payloadsRecoverable Errorsstd/error
pointers and addressesPointer and Address Conversionstd/ptr
hashing and unordered collectionsAssociative Collectionsstd/hash, std/map, std/set
cryptographically secure random bytes and scalarsCryptographic Randomnessstd/random
canonical UUID values and version-4 generationUniversally Unique Identifiersstd/uuid
opaque session identifiersOpaque Session Identifiersstd/session
JSON values, parsing, and generationJSON Values and Textstd/json
structured operational events and redactionStructured Operational Loggingstd/log
durations, monotonic time, wall-clock time, and UTC calendar valuesTimestd/time
structured asynchronous computation compositionStructured Asynchronous Tasksstd/task
cooperative shared ownership and synchronizationCooperative Synchronizationstd/sync
long-running task ownership, reload, and graceful shutdownService Lifecyclestd/service
synchronous processes and process contextSynchronous Processesstd/process
structured command-line parsing and helpCommand-Line Applicationsstd/cli
numeric network addresses and socket I/ONetwork I/Ostd/net
authenticated TLS client streamsAuthenticated TLSstd/tls
absolute HTTP-family URLs and request targetsURLstd/url
HTTP/1.1 client, server, message values, and framingHTTP/1.1std/http
Unicode scalars and text transformsUnicode Text and Scalarsstd/char, Unicode operations on std/str and std/string
native assertionsNative Assertionsstd/testing