From 3b3463349990ec179f42a8a805ecd3a3f06b9dbb Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Tue, 29 Sep 2020 10:56:26 -0400 Subject: Update running.md test directory links --- docs/running.html | 2 +- running.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/running.html b/docs/running.html index 7e454221..45745a94 100644 --- a/docs/running.html +++ b/docs/running.html @@ -10,7 +10,7 @@

This repository contains a BQN implementation written mainly in BQN: the bytecode compiler is completely self-hosted, and the majority of the runtime is written in BQN except that it is allowed to define primitives; some preprocessing turns the primitives into identifiers. The remaining part, a VM, can be implemented in any language to obtain a version of BQN running in that language. A Javascript implementation allows BQN to be run as a client-side REPL or in Node.js as a library.

The bytecode is also the same as dzaima/BQN's format, and an extension to the compiler adjusts the slightly different block declarations to target dzaima+reference BQN. There is also an earlier experiment targetting WebAssembly that works only on a very small subset of BQN.

This version is not yet suitable for serious programming. The runtime has full error checking but the compiler does not, so syntax errors can go unreported. It does not yet support function headers or multiple bodies. The Javascript-based compiler is also slow, taking about 0.05 seconds plus 1 second per kilobyte of source (this is purely due to the slow runtime, as dzaima+reference achieves 1ms/kB with the same compiler once warmed up).

-

All versions have automated tests in the test directory, with the self-hosted version (test/tj.js) and WebAssembly backend (test/t.js) tested with Javascript using Node and the dzaima/BQN backend tested with BQN itself (test/bt).

+

All versions have automated tests in the test directory, with the self-hosted version (test/js) and WebAssembly backend (test/dz_wasm.js) tested with Javascript using Node and the dzaima/BQN backend tested with BQN itself (test/dz_comp).

dzaima/BQN

dzaima/BQN is an implementation in Java created by modifying the existing dzaima/APL. It should be easy to run on desktop Linux and Android. It is still in development and has almost complete syntax support but incomplete primitive support.

dzaima+reference BQN

diff --git a/running.md b/running.md index a02eb7c4..e0fce133 100644 --- a/running.md +++ b/running.md @@ -12,7 +12,7 @@ The bytecode is also the same as dzaima/BQN's format, and [an extension](dc.bqn) This version is not yet suitable for serious programming. The runtime has full error checking but the compiler does not, so syntax errors can go unreported. It does not yet support function headers or multiple bodies. The Javascript-based compiler is also slow, taking about 0.05 seconds plus 1 second per kilobyte of source (this is purely due to the slow runtime, as dzaima+reference achieves 1ms/kB with the same compiler once warmed up). -All versions have automated tests in the [test](test/) directory, with the self-hosted version ([test/tj.js](test/tj.js)) and WebAssembly backend ([test/t.js](test/t.js)) tested with Javascript using Node and the dzaima/BQN backend tested with BQN itself ([test/bt](test/bt)). +All versions have automated tests in the [test](test/) directory, with the self-hosted version ([test/js](test/js)) and WebAssembly backend ([test/dz_wasm.js](test/dz_wasm.js)) tested with Javascript using Node and the dzaima/BQN backend tested with BQN itself ([test/dz_comp](test/dz_comp)). ### dzaima/BQN -- cgit v1.2.3