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
| Module | Import Path | Description |
|---|---|---|
| System | stdlib/system.aeg | Args, Environment vars, CLI tools. |
| File | stdlib/fs.aeg | Read/Write files and Path manipulation. |
| Http | stdlib/http.aeg | Web client (GET, POST). |
| Json | stdlib/json.aeg | Parsing and stringifying JSON. |
| Math | stdlib/math.aeg | Advanced math and trigonometry. |
| Test | stdlib/test.aeg | Unit testing framework. |