Standard Library

Aegis follows a "batteries-included" philosophy. The Standard Library provides a comprehensive set of modules to interact with the operating system, the network, and data formats.

These modules are built directly into the Aegis binary or shipped as core extensions.

Available Modules

ModuleImport PathDescription
Systemstdlib/system.aegArgs, Environment vars, CLI tools.
Filestdlib/fs.aegRead/Write files and Path manipulation.
Httpstdlib/http.aegWeb client (GET, POST).
Jsonstdlib/json.aegParsing and stringifying JSON.
Mathstdlib/math.aegAdvanced math and trigonometry.
Teststdlib/test.aegUnit testing framework.