aboutsummaryrefslogtreecommitdiff
path: root/ONBOARD.md
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 09:56:23 +0000
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 09:56:23 +0000
commit2f52ef8662b9922cfbe970f0f01a35f83bc761d4 (patch)
treedc1b6556ecada1319d2d85b7a9409197af15d658 /ONBOARD.md
parentMerge 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.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/ONBOARD.md b/ONBOARD.md
index a0ed367..6fa9c0e 100644
--- a/ONBOARD.md
+++ b/ONBOARD.md
@@ -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`).