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: 3 months 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 (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-15T01:16:05.000Z (4 months ago)
- Last Synced: 2024-07-15T02:28:41.939Z (4 months ago)
- Topics: bqn
- Language: BQN
- Homepage:
- Size: 128 KB
- Stars: 47
- Watchers: 9
- Forks: 4
- 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.