ziglang/zig
Systems
Internal building blocks of the compiler and toolchain. Each page below covers an architectural component with code in src/, lib/std/, or lib/compiler/.
| Page | What it covers |
|---|---|
| Compiler | The pipeline driver in src/: Compilation, Zcu, Sema, Air, InternPool, main.zig. |
| Frontend | Tokenization, parsing, AST, and AstGen → ZIR. Lives in lib/std/zig/. |
| Code generation backends | LLVM and the self-hosted x86_64/AArch64/RISC-V/Wasm/SPIR-V/C backends. |
| Linkers | The in-tree ELF, MachO, COFF, Wasm, SPIR-V, and C linkers. |
| Standard library | lib/std/ — the Zig stdlib. |
| Build system | std.Build and zig build. |
| Package manager | build.zig.zon, src/Package.zig, fetch & cache. |
| Compiler runtime | lib/compiler_rt/ — soft-float, division, atomics. |
| Bundled libraries | libc/libcxx/libunwind/libtsan/clang resource headers. |
See Architecture for the high-level picture before drilling in.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.