- Zig 75.8%
- TLA 20.6%
- C 3.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| docs | ||
| examples | ||
| microbenchmarks | ||
| models | ||
| src | ||
| .clang-format | ||
| .gitignore | ||
| .prettierrc.json | ||
| AGENTS.md | ||
| architecture.dot | ||
| architecture.svg | ||
| build.zig | ||
| build.zig.zon | ||
| LICENSE | ||
| pixi.lock | ||
| pixi.toml | ||
| README.md | ||
Kit
Kit is a collection of Zig libraries for parallel computation, terminal user interfaces, and execution tracing.
Unicode
kit.unicode.generalCategory(cp) returns the Unicode general category. Surrogates retain their
category. Values above U+10FFFF return .other_not_assigned.
kit.unicode.uppercaseScalar(cp) returns the locale-independent full uppercase mapping when
the result contains one code point. It returns null for expansions, including ß to SS.
Unmapped and out-of-range inputs remain unchanged.
Kit includes the Unicode data and generated lookups behind these APIs. Consumers import the
public kit module without additional Unicode imports or build steps.
Examples
Use zig from your PATH, or replace zig in the commands below with the path to your compiler.
The package manifest declares the minimum Zig version.
Start with the Julia set renderer for parallel loops and reductions, or the mock chat application for an interactive terminal UI.
To run the renderer, start at the repository root:
cd examples
zig build julia_range
The examples are a separate package. Use their dependency declaration and build script to add Kit to your own application.
Development
With the Pixi development environment, run these from the repository root:
pixi run test
pixi run fmt-check
To run the tests with your own compiler instead:
zig build test
See the task definitions for fuzzing, model checks, and other tools.
For design details and verification: