genRuntimeSrc

This commit is contained in:
dzaima 2021-05-16 13:44:10 +03:00
parent d046d92390
commit 1bdb0b1968

9
genRuntimeSrc Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
if [[ $# -ne 1 ]]; then
echo "Usage: ./genRuntimeSrc path/to/mlochbaum/BQN"
exit
fi
./BQN cc.bqn $1 -i r0 > src/runtime0
./BQN cc.bqn $1 -i r1 > src/runtime1
./BQN cc.bqn $1 -i c > src/compiler
./BQN cc.bqn $1 -i f > src/formatter