From f13a4160801d23877c755717057fb35ee76dc120 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Tue, 10 May 2022 21:15:28 -0400 Subject: Running in Windows --- docs/running.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/running.html b/docs/running.html index 65846500..2246d689 100644 --- a/docs/running.html +++ b/docs/running.html @@ -6,7 +6,7 @@

How to run BQN

CBQN is the primary offline implementation. Scripts in this repository start with #! /usr/bin/env bqn in order to look up the user's bqn executable, which is expected to be CBQN.

-

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).

+

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 also third party Windows builds hosted on Github.

For tools related to running BQN, see the editor plugins and fonts page.

All these websites run BQN (on your computer, except Attempt This Online):

@@ -79,6 +79,7 @@

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.

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.

+

CBQN is developed on Linux, and as-is will only run on Unix-like systems (including macOS). To run on Windows, WSL has the best support but there are also native builds based on each of Cygwin and Mingw here.

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.

dzaima/BQN

-- cgit v1.2.3