Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shnarazk/bup
BQN utility package
https://github.com/shnarazk/bup
bqn
Last synced: 27 days ago
JSON representation
BQN utility package
- Host: GitHub
- URL: https://github.com/shnarazk/bup
- Owner: shnarazk
- License: cc0-1.0
- Created: 2023-07-18T23:35:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-16T03:42:07.000Z (about 1 year ago)
- Last Synced: 2023-12-16T05:13:49.530Z (about 1 year ago)
- Topics: bqn
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bup
BQN utility package## Execution Convention
- app.bqn
```apl
#!/usr/bin/env cbqn
env←{v⇐⍉>⊑∘⊐⟜'='⊸(↑⋈1↓↓)¨{-¬(¬×1++`)𝕩=@+10}⊸⊔1⊑•SH<"env"⋄Var⇐{⊐⟜𝕩⊸⊏⟜(∾⟜𝕨)˝v}}
lib ← •Import "/util.bqn"∾˜"." env.Var⌾⋈ "BQN_LIB"...
```
- execute
```sh
BQN_LIB=~/.config/bqn cbqn app.bqn
```or
```sh
BQN_LIB=. cbqn app.bqn
```The latter is equivalent to
```sh
cbqn app.bqn
```