Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mlochbaum/bqn-libs
Informal collection of BQN utilities
https://github.com/mlochbaum/bqn-libs
bqn
Last synced: 28 days ago
JSON representation
Informal collection of BQN utilities
- Host: GitHub
- URL: https://github.com/mlochbaum/bqn-libs
- Owner: mlochbaum
- License: 0bsd
- Created: 2021-09-04T20:56:07.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-08T17:50:18.000Z (about 1 month ago)
- Last Synced: 2024-11-08T18:36:42.711Z (about 1 month ago)
- Topics: bqn
- Language: BQN
- Homepage:
- Size: 128 KB
- Stars: 51
- Watchers: 8
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bqn - bqn-libs
README
# My BQN library
BQN utilities. Scripts resembling these may become part of a standard library at some point but for now they're not. They shouldn't be assumed to be stable or well-tested.
Here's what there is. For usage, see export lists at the top of each file.
- strings.bqn: common string operations like split, replace, and so on (no regex)
- primes.bqn: fast-ish sieve with typical prime and factoring utilities
- matrix.bqn: matrix decompositions and tools: APL `⌹` is `Inverse⊘Solve`
- polynomial.bqn: complex polynomial tools and solvers
- min.bqn: optimization/minimization methods
- roots.bqn: find zeros of real functions
- big{nat,int}.bqn: utilities for arbitrary-precision numbers. In progress.
- datetime.bqn: time and date, handling formats other than BQN's native `•UnixTime`
- hashmap.bqn: mutable hash table, a prototype for planned `•HashMap`
- json.bqn: JavaScript Object Notation
- csv.bqn: Comma-Separated Value file format
- xml.bqn: eXtensible Markup LanguageRun all tests with `bqn test/main.bqn`, or any individual test with the same name as the file in the main folder. Similarly, files in the `benchmark/` folder run and report on performance measurements for the script of the same name.