aboutsummaryrefslogtreecommitdiff
path: root/test/README.txt
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-08 21:14:26 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-08 21:14:26 -0400
commit2ff502e46f9d7e6929059479da2e160d0cbbf5de (patch)
tree4bc056b8ffbdbd3e4f24cec4c7a68d8345b1bb07 /test/README.txt
parent176c78f51809ba3648d7a4cdedc78553df5904ae (diff)
Organize tests scripts a little better and add README
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 "$@"