aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 09:07:12 +0000
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 09:07:12 +0000
commitfd622c51be670bba2acf4b50c548acedbc8bb263 (patch)
tree6d55aaa418c82efe58a240143273c15cc281917c /docs
parentPROPOSALS.md: features worth adding to zc (diff)
todo: one sorted list of open work; library suggestions without naming libraries
TODO.md ticks the items verified done (namespaces, actor and icon libraries and their coverage, the genome embed, the bootstrap ownership limits, the docs and fixtures sweep) and lists everything still open, including the newly requested language features, sorted easiest first. the compiler no longer names actor: file libraries for suggestions come from src/lib/modules.txt, and lib.name before its include reports the missing include. icon gains fixtures for reading globals while stepping and for begin_function on a non-function, and the suite checks that nothing the compiler reads by default mentions actors. bf.zc, the web sample and std's capture example use qualified runtime names; LEARN.md uses build/bin paths.
Diffstat (limited to 'docs')
-rw-r--r--docs/LEARN.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/LEARN.md b/docs/LEARN.md
index b649b4f..a3588e7 100644
--- a/docs/LEARN.md
+++ b/docs/LEARN.md
@@ -8,15 +8,15 @@ build from the repository root, then run a source file on stdin:
```sh
make
-bin/zy < examples/learn/01-hello.zc
+build/bin/zy < examples/learn/01-hello.zc
```
-`bin/zy` is the native core: it uses the arm64 jit where available and otherwise interprets. `bin/zym` is the portable microcore, `bin/zc0` is the bootstrap compiler, and `bin/zclsp` checks source for the editor. the interactive runners are `./tinyvm.sh` on linux and `tinyvm.bat` on windows.
+`build/bin/zy` is the native core: it uses the arm64 jit where available and otherwise interprets. `build/bin/zym` is the portable microcore, `build/bin/zc0` is the bootstrap compiler, and `build/bin/zclsp` checks source for the editor. the interactive runners are `./tinyvm.sh` on linux and `tinyvm.bat` on windows.
run from the root throughout this guide. paths in `rt.readfile` are resolved from the process's working directory, and so are those in `include` when nothing nearer has the file. `tests/drivers/learn.py` checks the examples and verifies that the code blocks here match their source files:
```sh
-python3 tests/drivers/learn.py bin/zy
+python3 tests/drivers/learn.py build/bin/zy
```
example 23 uses the native C ABI and requires host FFI support. the microcore does not provide that support, so skip example 23 when running the guide on a micro-only host; the learning driver does not currently select examples by backend capability.