primSafe.bqn
This commit is contained in:
parent
3773c15d90
commit
528279b8e3
6
README.md
Normal file
6
README.md
Normal 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
7
primSafe.bqn
Executable 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 ""
|
||||||
2
test.bqn
2
test.bqn
@ -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
|
||||||
path←0⊑•args
|
path←0⊑•args
|
||||||
envP←1⊑•args
|
envP←1⊑•args
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user