View this file with results and syntax highlighting here.
BQN tutorials explain how to approach and use the language as a newcomer (or they try; please get in touch if you find that they skip ahead!). Tutorials are meant to explain key ideas and may ignore details that would be included in the documentation; also unlike the documentation they're meant to be read in order, as each tutorial will build on ideas from the previous ones. But feel free to skim or jump around if you find you're reading things that are already obvious. You may also want to check the quick start to get a broad idea of what BQN is about.
Tutorials assume (pretty presumptively, really. Disgusting.) that you are already motivated to learn BQN and use simple rather than flashy examples. To see some of the possibilities you might instead check the community links, or browse the APL Wiki as these languages are closely related.
The tutorials available so far:
Tutorial | Concepts | Primitives |
---|---|---|
Expressions | Arithmetic, syntax, affine characters | +-×÷⋆√˜⁼˙∘ |
List manipulation | Lists, strings, and strands; pervasion | ∾⋈⌽↕¨´ |
Combinators | Tacit programming, booleans | |<>≠=≤≥≡≢○⊸⟜ |
Variables | Declarations, cross-roles | ∧∨¬⊣⊢↑↓«»⌾ |
Where to from here? I'd suggest the following documentation pages as starting points:
- Quick start
- Blocks; maybe Lexical scoping and Control flow
- Arrays and Indices
- Namespaces and Object-oriented programming
- Primitives as needed