BQN: Difference between revisions

Jump to navigation Jump to search
1,120 bytes added ,  18:35, 30 May 2021
m (→‎Functions: Pipe character has to be escaped in <code>)
(6 intermediate revisions by one other user not shown)
Line 9: Line 9:
| developer                = [[Marshall Lochbaum]]
| developer                = [[Marshall Lochbaum]]
| latest release version  = 2021 (unversioned)
| latest release version  = 2021 (unversioned)
| implementation languages = BQN, [[wikipedia:JavaScript|JavaScript]]
| implementation languages = BQN with [[wikipedia:JavaScript|JavaScript]], [[wikipedia:C (programming language)|C]], or others<ref>[[Marshall Lochbaum]]. [https://mlochbaum.github.io/BQN/running.html "How to run BQN"]</ref>
| source                  = [https://github.com/mlochbaum/BQN GitHub]
| source                  = [https://github.com/mlochbaum/BQN GitHub]
| platforms                = In-browser, [[wikipedia:Node.js|Node.js]]
| platforms                = In-browser, [[wikipedia:Node.js|Node.js]]
Line 16: Line 16:
| file ext                = .bqn
| file ext                = .bqn
| documentation            = [https://mlochbaum.github.io/BQN/doc Documentation]
| documentation            = [https://mlochbaum.github.io/BQN/doc Documentation]
| influenced by            = [[J]], [[A+]], [[Dyalog APL]], [[Co-dfns]], [[APL\iv]], [[wikipedia:JavaScript|JavaScript]]
| forum                    = [https://app.element.io/#/room/%23bqn:matrix.org #bqn:matrix.org]
| influenced by            = [[J]], [[A+]], [[Dyalog APL]], [[Co-dfns]], [[APL\iv]], [[wikipedia:JavaScript|JavaScript]]<ref>[[Marshall Lochbaum]]. [https://mlochbaum.github.io/BQN/commentary/history.html "BQN's development history"].</ref>
| influenced              = [[dzaima/BQN]]
| influenced              = [[dzaima/BQN]]
| run online              = [https://mlochbaum.github.io/BQN/try.html Online REPL]
| run online              = [https://mlochbaum.github.io/BQN/try.html Online REPL]
Line 100: Line 101:
| <code>⍒</code> || [[Grade|Grade Down]]      || [[Interval_Index|Bins Down]]
| <code>⍒</code> || [[Grade|Grade Down]]      || [[Interval_Index|Bins Down]]
|-
|-
| <code>⊏</code> || First Cell                || Select
| <code>⊏</code> || First Cell                || [[Select]]
|-
|-
| <code>⊑</code> || [[First]]                || Pick
| <code>⊑</code> || [[First]]                || Pick
Line 150: Line 151:
| <code>○</code> || [[Over]]
| <code>○</code> || [[Over]]
|-
|-
| <code>⊸</code> || [[Before]]/[[Bind]]
| <code>⊸</code> || [[Hook|Before]]/[[Bind]]
|-
|-
| <code>⟜</code> || [[After]]/[[Bind]]
| <code>⟜</code> || [[Hook|After]]/[[Bind]]
|-
|-
| <code>⌾</code> || [[Under]]
| <code>⌾</code> || [[Under]]
Line 167: Line 168:
|}
|}
|}
|}
Some modifiers are closely related, and some of their glyphs are intended to allude to this:
* The three 1-modifers Cells (<code>𝔽˘</code>), Each (<code>𝔽¨</code>), and Undo (<code>𝔽⁼</code>) are equivalent to using a right-[[operand]] of <code>¯1</code> with the 2-modifiers Rank (<code>𝔽⎉¯1</code>), Depth (<code>𝔽⚇¯1</code>), and Repeat (<code>𝔽⍟¯1</code>). Therefore the 2-modifiers are circled versions of the 1-modifiers (except in the case of Undo/Repeat).
* Under (<code>𝔽⌾𝔾</code>) is in principle equivalent to <code>𝔾⁼∘𝔽○𝔾</code>. Therefore, <code>⌾</code> is a combination of the glyphs <code>∘</code> and <code>○</code>.


{{APL dialects}}[[Category:BQN| ]][[Category:Array languages]][[Category:Based array languages]][[Category:Compilers]][[Category:Leading axis languages]][[Category:Languages with tacit programming]]
== References ==
<references />
 
{{APL dialects}}[[Category:BQN| ]][[Category:Array languages]][[Category:Based array languages]][[Category:Bytecode compilers]][[Category:Leading axis languages]][[Category:Languages with tacit programming]]

Navigation menu