update readme, disable JIT by default
This commit is contained in:
parent
9b279dd6c7
commit
13e0d522e5
@ -8,8 +8,10 @@ build/run:
|
|||||||
- `./build` and `./debugBuild` compile everything at once and allow specifying extra compiler arguments, but may be slower
|
- `./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)
|
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
|
Any file without an explicit copyright message is copyright (c) 2021 dzaima, GNU GPLv3 - see LICENSE
|
||||||
2
src/vm.c
2
src/vm.c
@ -6,7 +6,7 @@
|
|||||||
#include "utils/utf.h"
|
#include "utils/utf.h"
|
||||||
|
|
||||||
#ifndef USE_JIT
|
#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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user