aboutsummaryrefslogtreecommitdiff
path: root/test/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/README.txt')
-rw-r--r--test/README.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/README.txt b/test/README.txt
new file mode 100644
index 00000000..12eb9bf1
--- /dev/null
+++ b/test/README.txt
@@ -0,0 +1,20 @@
+Test scripts:
+
+ Script Compiler host Output host
+- js [-prim] Self-host BQN on Javascript
+- dz_comp [-prim] dzaima/BQN dzaima/BQN
+- dz_rt dzaima/BQN BQN on dzaima/BQN
+- dz_wasm.js dzaima/BQN WebAssembly
+
+Test cases:
+ js dz_comp dz_rt dz_wasm.js
+- cases.bqn * * *
+- bcases.bqn * *
+- prim.bqn -prim -prim *
+
+Contents of bin/dbqn follow (3 lines). Replace "/path/to/dzaima/" with
+your path. To work on dz_rt, add "-e •compstart↩¯1" before "-f".
+
+#! /bin/bash
+
+java -jar /path/to/dzaima/BQN/BQN.jar -f "$@"