diff options
| author | 2026-10-14 09:56:23 +0000 | |
|---|---|---|
| committer | 2026-10-14 09:56:23 +0000 | |
| commit | 2f52ef8662b9922cfbe970f0f01a35f83bc761d4 (patch) | |
| tree | dc1b6556ecada1319d2d85b7a9409197af15d658 /ONBOARD.md | |
| parent | Merge branch 'worktree-agent-a96a10dc1489688ea' into ccr-0054c02e-dfdvnd (diff) | |
docs: add SPEC.md, the first written specification of zc
Reference for lexing, types, expressions (full precedence table),
statements, declarations, the ownership analyzer and its messages,
compile-time execution and the runtime contract, with appendices for
the zc0 subset and for doc/implementation disagreements and bugs found
while checking the rules against build/bin/zy. Pointers added to
README.md and ONBOARD.md.
Diffstat (limited to 'ONBOARD.md')
| -rw-r--r-- | ONBOARD.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ for f in examples/learn/*.zc; do echo "== $f"; build/bin/zy < $f; done python3 tests/drivers/learn.py build/bin/zy ``` -then read the language parts of `README.md`: "zc, the language", "memory model", +keep `docs/SPEC.md`, the language reference, open beside it for the exact rules (precedence, types, ownership errors); then read the language parts of `README.md`: "zc, the language", "memory model", "types", "o3", "code as data". run a few of the larger examples (`examples/lang.zc`, `examples/bf.zc`, `examples/dump.zc`, `examples/tree.zc`). |
