Microcontroller Port of CBQN
Go to file
2021-05-24 12:11:53 +03:00
obj RT_VERIFY 2021-05-24 01:05:34 +03:00
src ⊏ improvements 2021-05-24 12:11:53 +03:00
.gitignore incremental compilation 2021-05-23 21:55:49 +03:00
build incremental compilation 2021-05-23 21:55:49 +03:00
buildg incremental compilation 2021-05-23 21:55:49 +03:00
cc.bqn optional source for precompiled programs 2021-05-16 13:42:58 +03:00
debugBuild incremental compilation 2021-05-23 21:55:49 +03:00
genRuntime incremental compilation 2021-05-23 21:55:49 +03:00
genRuntimeSrc incremental compilation 2021-05-23 21:55:49 +03:00
LICENSE license 2021-04-20 14:26:56 +03:00
makefile RT_VERIFY 2021-05-24 01:05:34 +03:00
precompiled.bqn update readme 2021-05-23 22:10:30 +03:00
README.md RT_VERIFY 2021-05-24 01:05:34 +03:00
test.bqn stacktraces 2021-05-10 02:44:26 +03:00

build/run:

  1. ./genRuntime path/to/mlochbaum/BQN
  2. Optionally choose what to build by changing 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 before to force recompile
  • ./build and ./debugBuild compile everything at once and allow specifying extra compiler arguments, but may be slower
  1. ./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

Test precompiled expression: ./precompiled.bqn path/to/mlochbaum/BQN "$PATH" '2+2'

Any file without an explicit copyright message is copyright (c) 2021 dzaima, GNU GPLv3 - see LICENSE