Language page — context, influences, and learning notes on the 100hellos site.
Source on GitHub (100hellos/bqn)
docker run --rm --platform="linux/amd64" 100hellos/bqn:latest
Read the repo README, or fork the project and customize it.
For an interactive shell:
docker run --rm --platform="linux/amd64" --entrypoint="" -it 100hellos/bqn:latest zsh
BQN is a modern array programming language developed by Marshall Lochbaum, inspired by APL and J but designed with modern programming principles. This implementation uses CBQN, the C-based reference implementation.
🔢 Array-first mindset: Every value is an array, making it incredibly powerful for data manipulation 🧠 Mathematical notation: Uses special symbols that make code read almost like mathematical expressions 🏃 Performance: CBQN compiles to efficient native code 🎯 Modern design: Learns from decades of array language development while avoiding historical baggage
Our simple program •Out "Hello World!" demonstrates:
•Out - A system function (indicated by the bullet •) for outputTry these expressions to see BQN's array magic:
bqn -p "1+1" - Basic arithmeticbqn -p "+´1‿2‿3‿4‿5" - Sum an array using foldbqn -p "10↑{𝕩∾+´¯2↑𝕩}⍟9⟨0,1⟩" - Generate first 10 Fibonacci numbers!BQN proves that powerful doesn't have to mean complicated!
Content type
Image
Digest
sha256:d9d510ada…
Size
115.1 MB
Last updated
4 months ago
docker pull 100hellos/bqn