e7738de6d2
CI / Deep Native Runtime Cases (1/6) (push) Has been skipped
CI / Native Preflight (push) Failing after 1s
CI / Native Runtime Cases (1/2) (push) Failing after 0s
CI / Native Runtime Cases (2/2) (push) Failing after 1s
CI / Native Metadata Reports (push) Failing after 0s
CI / Native Direct Backend Artifacts (push) Failing after 0s
CI / Native Sanitizer Smoke (push) Failing after 1s
CI / Command Contract Snapshots (push) Failing after 1s
CI / Deep Conformance Suite (push) Has been skipped
CI / Graph Build Perf (push) Failing after 1s
CI / Deep Native Preflight (push) Has been skipped
CI / Deep Native Runtime Cases (2/6) (push) Has been skipped
CI / Deep Native Runtime Cases (3/6) (push) Has been skipped
CI / Conformance Suite (push) Failing after 1s
CI / Workspace Checks (push) Failing after 0s
CI / Deep Native Runtime Cases (5/6) (push) Has been skipped
CI / Deep Native Runtime Cases (6/6) (push) Has been skipped
CI / Deep Native Runtime Cases (4/6) (push) Has been skipped
CI / Deep Graph Build Perf (push) Has been skipped
65 lines
1.1 KiB
Markdown
65 lines
1.1 KiB
Markdown
## 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
|
|
|
|
```sh
|
|
pnpm install
|
|
make -C native/zero-c
|
|
zero --version
|
|
```
|
|
|
|
## Focused Loop
|
|
|
|
```sh
|
|
zero check examples/hello.graph
|
|
zero run examples/add.graph
|
|
zero build --emit exe --target linux-musl-x64 examples/add.graph --out .zero/out/add
|
|
```
|
|
|
|
Inspect graph and size facts:
|
|
|
|
```sh
|
|
zero inspect --json examples/systems-package
|
|
zero size --json examples/point.graph
|
|
zero targets
|
|
```
|
|
|
|
Explain diagnostics:
|
|
|
|
```sh
|
|
zero explain TAR002
|
|
zero explain --json TYP009
|
|
```
|
|
|
|
## Validation
|
|
|
|
```sh
|
|
pnpm run conformance
|
|
pnpm run command-contracts:local
|
|
pnpm run native:test
|
|
pnpm run docs:build
|
|
```
|
|
|
|
Before ending an agent turn that changed the repository, run
|
|
`pnpm run conformance`.
|
|
|
|
## Native Targets
|
|
|
|
The documented native target names are:
|
|
|
|
- `darwin-arm64`
|
|
- `darwin-x64`
|
|
- `linux-arm64`
|
|
- `linux-musl-arm64`
|
|
- `linux-musl-x64`
|
|
- `linux-x64`
|
|
- `win32-arm64.exe`
|
|
- `win32-x64.exe`
|
|
|
|
Unsupported target or feature requests report diagnostics instead of silently
|
|
choosing another backend.
|