diff options
| author | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-23 00:50:18 +0000 |
|---|---|---|
| committer | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-23 00:50:18 +0000 |
| commit | 8cb7089b2eb09d40d9497cea40d088d94676a8c6 (patch) | |
| tree | d4a2a33fe35807abc0cdeeb0be93edcbe75a4996 /README.md | |
| parent | 3a4a72a38675893c3a1854d05c72b957a6bd9364 (diff) | |
More docs, check 'docs/std'.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -85,6 +85,7 @@ Join the discussion, share demos, ask questions, or report bugs in the official - [Volatile](#volatile) - [Named Constraints](#named-constraints) - [15. Build Directives](#15-build-directives) +- [Standard Library](#standard-library) - [Tooling](#tooling) - [Language Server (LSP)](#language-server-lsp) - [REPL](#repl) @@ -821,6 +822,27 @@ fn main() { ... } --- +## Standard Library + +Zen C includes a standard library (`std`) covering essential functionality. + +[Browse the Standard Library Documentation](docs/std/README.md) + +### Key Modules + +| Module | Description | Docs | +| :--- | :--- | :--- | +| **`std/vec.zc`** | Growable dynamic array `Vec<T>`. | [Docs](docs/std/vec.md) | +| **`std/string.zc`** | Heap-allocated `String` type with UTF-8 support. | [Docs](docs/std/string.md) | +| **`std/map.zc`** | Generic Hash Map `Map<V>`. | [Docs](docs/std/map.md) | +| **`std/fs.zc`** | File system operations. | [Docs](docs/std/fs.md) | +| **`std/option.zc`** | Optional values (`Some`/`None`). | [Docs](docs/std/option.md) | +| **`std/result.zc`** | Error handling (`Ok`/`Err`). | [Docs](docs/std/result.md) | +| **`std/path.zc`** | Cross-platform path manipulation. | [Docs](docs/std/path.md) | +| **`std/env.zc`** | Process environment variables. | [Docs](docs/std/env.md) | + +--- + ## Tooling Zen C provides a built-in Language Server and REPL to enhance the development experience. |
