From 2fca5a5bc5e8787792901af30bf5fe0846d1db12 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Thu, 7 Apr 2022 22:42:01 -0400 Subject: Table of websites; BQNPAD now optionally running Wasm --- running.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'running.md') diff --git a/running.md b/running.md index 853501aa..b84d9e7c 100644 --- a/running.md +++ b/running.md @@ -6,27 +6,31 @@ Third-party packages to build some BQN implementations are available for both Nix and Arch Linux. For general use I recommend `cbqn` from nixpkgs (Nix) and `cbqn-git` from the AUR (Arch). -There are many websites where you can run BQN as well. All but Attempt This Online are based on Javascript BQN. -- [The main online REPL](https://mlochbaum.github.io/BQN/try.html). -- [BQNPAD](https://bqnpad.mechanize.systems/) is a fancy syntax-highlighted REPL (preview results as you type!). -- Razetime's simpler [alternative](https://razetime.github.io/bqn-repl/) also runs as a continuous session. -- Try It Online format: [Attempt This Online](https://ato.pxeger.com/run?1=m704qTBvwYKlpSVpuhZoFJQGAA) runs CBQN server-side; [Do Stuff Online](https://dso.surge.sh/#bqn) runs JS BQN locally. -- This [Observable notebook](https://observablehq.com/@lsh/bqn) can be imported into other notebooks. -- [BQN-80](https://dancek.github.io/bqn-80): make animations with BQN. +All these websites run BQN (on your computer, except Attempt This Online): -### Self-hosted BQN +| Link | Style | Engine | Comments +|------|-------|--------|--------- +| [Online REPL](https://mlochbaum.github.io/BQN/try.html) | One-shot | JS | "Explain", error marker +| [BQNPAD](https://bqnpad.mechanize.systems/) | Session | JS, Wasm | Preview, syntax coloring +| [Attempt This Online](https://ato.pxeger.com/run?1=m704qTBvwYKlpSVpuhZoFJQGAA) | TIO | CBQN | Server-side +| [Do Stuff Online](https://dso.surge.sh/#bqn) | TIO | JS +| [Razetime](https://razetime.github.io/bqn-repl/) | Session | JS +| [Observable](https://observablehq.com/@lsh/bqn) | Notebook | JS | For import in Observable +| [BQN-80](https://dancek.github.io/bqn-80) | One-shot | JS | Create animations + +Further details in the sections below. -See the subsections below for instructions on specific implementations. +### Self-hosted BQN This version of BQN is [implemented](implementation/README.md) mainly in BQN itself, but a host language supplies basic functionality and can also replace primitives for better performance. This also allows [embedding](doc/embed.md), where programs in the host language can include BQN code. It fully supports all functionality specified so far (really it's ahead of the spec, which has some flaws to be addressed). System value support varies at it's implemented separately in each host. -Support in the following languages has been implemented: +Support in the following languages has been implemented (details in the subsections below): - [C](https://github.com/dzaima/CBQN), targetting high performance. Usually fairly fast. - Javascript, in this repository. Slow (compiles at ~5kB/s) but usable. - BQN ([bqn.bqn](bqn.bqn)), for testing without a build step. +- [Julia](https://git.sr.ht/~andreypopp/BQN.jl) embedding, with common primitives implemented natively. Slow startup. - [C++](https://github.com/ashermancinelli/cxbqn), planning to enable GPU use. Still slow; some cool features. - [Rust](https://github.com/cannadayr/rsbqn/), motivated by web use (an [Erlang](https://github.com/cannadayr/ebqn) version is abandoned as too slow). -- [Julia](https://git.sr.ht/~andreypopp/BQN.jl) embedding, with common primitives implemented natively. Slow startup. #### Javascript -- cgit v1.2.3