TezzNative v1.1.0 is hardening toward production. View roadmap

Stable stdlib core

Small, practical, and gated.

The current stable-candidate modules are documented by ownership rules, failure behavior, platform notes, and Windows/Linux x64 native smoke gates.

Stable Candidates

ModuleRoleGate
stdCommon prelude helpersStable import smoke
ioFiles, directories, paths, streams, process helpersNative IO/path/process smoke
strSearch, slice, trim/case, replace, repeat, parse, paddingNative string smoke plus empty-replace edge
mathInteger, float, aggregate, interpolation, trig helpersNative math smoke plus divmod/smoothstep/atan2 edges
timeClock, sleep, UTC/local date formattingNative clock/sleep/date smoke
vecType-erased vectors and typed convenience wrappersNative vector smoke plus reserve/fill guards
arenaBump allocation, mark/release, wrapped buffersNative arena smoke plus alignment/release guards

Failure And Ownership

  • Returned strings are usually heap allocated; callers own non-null results.
  • File, vector, and arena handles are explicit resources and should be closed or freed.
  • Mutating resource functions return 0 on success and -1 on invalid handles, invalid arguments, or allocation failure.
  • Allocating functions return null on allocation failure.
  • Arena wrapped buffers remain caller-owned; freeing the arena handle does not free the external buffer.
  • Runtime-backed helpers must state whether they use direct native lowering, host runtime calls, process-backed fallback, or unsupported stubs.

Verification

Windows:

powershell -ExecutionPolicy Bypass -File .\tests\conformance\run-native-smoke.ps1

Linux or WSL:

bash tests/conformance/run-native-smoke.sh ./TezzNative-language/bin/tezzc-linux-x64

The focused stdlib edge fixtures are stdlib_math_edges.tn and stdlib_collections_edges.tn.