aboutsummaryrefslogtreecommitdiff
path: root/running.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-06-11 08:36:51 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-06-11 08:36:57 -0400
commit5d3f30a65eb17b39bbae24a278b32cc921d3320d (patch)
treebc3695c31bf936ae3e6fc269a828afa1115dbb67 /running.md
parente2db366744be07a2d8c7e9f83d8b960b8d8182ee (diff)
Clean up CBQN instructions and mention bin/bqn symlink
Diffstat (limited to 'running.md')
-rw-r--r--running.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/running.md b/running.md
index c3b56b69..638bc800 100644
--- a/running.md
+++ b/running.md
@@ -24,7 +24,9 @@ The online REPL is [here](https://mlochbaum.github.io/BQN/try.html). The file [d
#### CBQN
-C sources are kept in the [CBQN](https://github.com/dzaima/CBQN) repository, but it also depends on bytecode from the BQN sources here. Just running `make` will fetch saved bytecode from git; to use the latest bytecode, call `genRuntime` with this repository's path and run `make` again. `genRuntime` is pure BQN and could be run with another implementation (for example `$ path/BQN/bqn.js genRuntime path/BQN/` to use BQN on Node.js, which takes almost a minute) but there should be no need to do this.
+C sources are kept in the [CBQN](https://github.com/dzaima/CBQN) repository, but it also depends on bytecode from the BQN sources here. Running `make` gets a working copy right away with saved bytecode. Then to use the latest bytecode, call `$ ./BQN genRuntime …/BQN`, where `…/BQN` points to this repository, and run `make` again.
+
+`genRuntime` can also be run with another BQN implementation (the Node.js one works but takes up to a minute), and plain `./genRuntime` uses your system's `bqn` executable. I symlink `…/CBQN/BQN` to `~/bin/bqn` so I can easily use CBQN for scripting.
CBQN uses the self-hosted runtime to achieve full primitive coverage, and implements specific primitives or parts of primitives natively to speed them up. This means primitives with native support—including everything used by the compiler—are fairly fast while others are much slower.