Library
37 modules, 802 exports.
- base64 RFC 4648 base64 encode + decode.
- cli declarative argv parser for the
<action> <options>shape. - crypto hashing & digest functions (SHA-256, MD5).
- images/ppm PPM (Portable Pixmap, P6) encode + decode.
- json recursive-descent JSON parse + stringify.
- json/derive a build plugin writing a JSON serialiser for each struct.
- random pseudo-random number generator.
- regex Thompson NFA regex engine.
- semver Semantic Versioning 2.0.0 + npm-style range matching.
- std/abort divergence primitives (panic, todo, unreachable).
- std/async run async functions, wait on time, and combine awaitables.
- std/char ASCII character classification.
- std/collections hash-based mutable collections.
- std/core auto-imported in every Vader program.
- std/env process environment access.
- std/ffi what a binding declares about the C library it calls.
- std/io synchronous blocking I/O.
- std/iter lazy
generatoriterator combinators + terminals. - std/math basic numeric operations and constants.
- std/numbers number formatting helpers.
- std/option value-level combinators over
T | nullandT | Error. - std/path filesystem path manipulation.
- std/process external-process invocation, async-first.
- std/runtime runtime introspection and controls (GC and scheduler).
- std/sort comparator-based sort on
[T]arrays. - std/string string operations.
- std/string_builder efficient string construction over a list of parts.
- std/target the two axes a Vader build is parameterised by.
- std/testing runtime assertions for
@testfunctions. - std/time wall-clock and monotonic time, plus arithmetic and ISO 8601.
- std/tty terminal detection and ANSI coloring.
- system/darwin the Darwin calls and layouts the standard library needs.
- system/posix raw POSIX syscalls.
- system/windows the Win32 calls the standard library needs.
- toolchain/ast the shape of written Vader, as data.
- toolchain/build
- toolchain/span where a piece of source is, and nothing else.