Use A Checkout Compiler
Use this page when you are working on Zerolang itself or testing a local compiler
change. Public docs use zero; contributor notes cover checkout wrapper
details.
Build
pnpm install
make -C native/zero-c
zero --versionFocused Loop
zero check examples/hello.graph
zero run examples/add.graph
zero build --emit exe --target linux-musl-x64 examples/add.graph --out .zero/out/addInspect graph and size facts:
zero inspect --json examples/systems-package
zero size --json examples/point.graph
zero targetsExplain diagnostics:
zero explain TAR002
zero explain --json TYP009Validation
pnpm run conformance
pnpm run command-contracts:local
pnpm run native:test
pnpm run docs:buildBefore ending an agent turn that changed the repository, run
pnpm run conformance.
Native Targets
The documented native target names are:
darwin-arm64darwin-x64linux-arm64linux-musl-arm64linux-musl-x64linux-x64win32-arm64.exewin32-x64.exe
Unsupported target or feature requests report diagnostics instead of silently choosing another backend.