From 4c95f1b8a83993eda4545a2c81806b1b14f37053 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Thu, 3 Feb 2022 22:14:31 -0500 Subject: Move the various online REPLs into running.md --- docs/running.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'docs/running.html') diff --git a/docs/running.html b/docs/running.html index e2f911ff..e50a3256 100644 --- a/docs/running.html +++ b/docs/running.html @@ -20,7 +20,15 @@
  • Julia embedding, with common primitives implemented natively. Slow startup.
  • Javascript

    -

    The online REPL is here. The file docs/bqn.js is zero-dependency Javascript, and can be loaded from HTML or Node.js. For command line use, call the Node.js script bqn.js, passing a file and •args, or -e to execute all remaining arguments directly and print the results. This notebook shows how to run it in an Observable notebook.

    +

    The file docs/bqn.js is zero-dependency Javascript, and can be loaded from HTML or Node.js. For command line use, call the Node.js script bqn.js, passing a file and •args, or -e to execute all remaining arguments directly and print the results.

    +

    Several sites run using JS-based BQN:

    +

    CBQN

    C sources are kept in the 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.

    @@ -34,4 +42,4 @@

    If compiled with Native Image, nBQN can be used directly instead.

    BQN2NGN

    -

    BQN2NGN is a prototype implementation in Javascript build to experiment with the langauge, which is now abandoned.

    +

    BQN2NGN is a prototype implementation in Javascript built to experiment with the langauge. It's now abandoned.

    -- cgit v1.2.3