update readme, disable JIT by default

This commit is contained in:
dzaima 2021-06-11 03:50:13 +03:00
parent 9b279dd6c7
commit 13e0d522e5
2 changed files with 5 additions and 3 deletions

View File

@ -8,8 +8,10 @@ build/run:
- `./build` and `./debugBuild` compile everything at once and allow specifying extra compiler arguments, but may be slower
4. `./BQN` (or `rlwrap ./BQN` for a fancier interface)
Time safe prim tests with self-hosted compiler: `./test.bqn ~/git/BQN -s prim > SP; time ./BQN<SP>/dev/null`
Run tests with `./BQN mlochbaum/BQN/test/this.bqn` (with `-noerr` for a heapverify build).
Test precompiled expression: `./precompiled.bqn path/to/mlochbaum/BQN "$PATH" '2+2'`
Time REPL-executed safe prim tests: `./test.bqn mlochbaum/BQN -s prim > SP; time ./BQN<SP>/dev/null`
Test precompiled expression: `./precompiled.bqn mlochbaum/BQN "$PATH" '2+2'`
Any file without an explicit copyright message is copyright (c) 2021 dzaima, GNU GPLv3 - see LICENSE

View File

@ -6,7 +6,7 @@
#include "utils/utf.h"
#ifndef USE_JIT
#define USE_JIT 1 // enable the extremely basic JIT that just genrates MOVs and CALLs
#define USE_JIT 0 // enable the extremely basic x86-64 JIT that mostly just generates MOVs and CALLs
#endif