primSafe.bqn

This commit is contained in:
dzaima 2021-03-30 13:50:37 +03:00
parent 3773c15d90
commit 528279b8e3
3 changed files with 14 additions and 1 deletions

6
README.md Normal file
View File

@ -0,0 +1,6 @@
build/run:
1. `./genRuntime path/to/mlochbaum/BQN`
2. optionally choose what to build by changing `src/main.c`
3. `./build` (or `./debugBuild` for a quicker unoptimized build)
4. `./BQN`

7
primSafe.bqn Executable file
View File

@ -0,0 +1,7 @@
#! /usr/bin/env dbqn
"usage: ./primSafe.bqn path/to/mlochbaum/BQN | ./BQN (while compiled for REPL mode)"!1•args
path•args
('%' '#'= · "#")•Out@¨•FLines path"/test/cases/prim.bqn"
•Out """finished"""
•Out ""

View File

@ -1,5 +1,5 @@
#! /usr/bin/env dbqn #! /usr/bin/env dbqn
"usage: test.bqn path/to/mlochbaum/BQN ""$PATH"" [optional expressions to evaluate]"!2•args "usage: ./test.bqn path/to/mlochbaum/BQN ""$PATH"" [optional expressions to evaluate]"!2•args
path0•args path0•args
envP1•args envP1•args