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 ""
|
||||
Loading…
Reference in New Issue
Block a user