diff options
author | dzaima <dzaimagit@gmail.com> | 2021-08-27 11:52:56 +0300 |
---|---|---|
committer | dzaima <dzaimagit@gmail.com> | 2021-08-27 11:52:56 +0300 |
commit | 305f578707d6f0a9cf27e93135513cbb670919ea (patch) | |
tree | 6a11fda7f50d7aca032e7ccfb6b8549a726ef958 /README.md | |
parent | a7ee8044d165119c6df8e93c5c13286bac54bf59 (diff) |
add •Fmt, changes to readme files
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -3,12 +3,13 @@ Build & run (tl;dr: `make; rlwrap ./BQN`): 1. (optional) Run `./genRuntime path/to/mlochbaum/BQN`; Otherwise, the necessary precompiled bytecode will be retrieved from `remotes/origin/bytecode` 2. If wanted, customize settings in `src/h.h` 3. `make` - - Options: `make o3`, `make debug` (`make rtperf`, `make heapverify` and `make rtverify` also exist for further testing/debugging) - - Do `make clean` or `make [o3|debug|…]-clean` beforehand to force recompile - - `./build` and `./debugBuild` compile everything at once and allow specifying extra compiler arguments, but may be slower -4. `./BQN` (or `rlwrap ./BQN` for a better REPL) + - Options: `make o3` (the default), `make debug` (more presets exist for more specific debugging) + - `make CC=gcc` can be used to compile with gcc + - Do `make clean` or `make t=[o3|debug|…] clean` beforehand to force recompile + - `make single-(o3|o3g|debug|c)` compile everything as a single translation unit and thus will compile slower, but allows specifying extra compiler arguments with `make f='…' single-…` and allows the compiler to optimize more +4. `./BQN` (or `rlwrap ./BQN` for a better REPL; see `./BQN --help` for more options) -Run tests with `./BQN mlochbaum/BQN/test/this.bqn` (with `-noerr` for a heapverify build). +Run tests with `./BQN mlochbaum/BQN/test/this.bqn` (add `-noerr` for a heapverify build). Time REPL-executed safe prim tests: `./test.bqn mlochbaum/BQN -s prim > SP; time ./BQN<SP>/dev/null` |