aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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.