Skip to content

April Fools’ for Code - Array Language Edition

Photo of Tim Schafer
Hosted By
Tim S.
April Fools’ for Code - Array Language Edition

Details

In the pantheon of PL paradigms array programming has mythical status. APL is known for being so exotic it has a special keyboard. In the great asciification Iverson brought us J, which can be typed on a standard keyboard, but the aesthetic was diminished. This made the glypheons sad. Finally we have the ease of ascii identifiers with the beauty and terseness of glyphs. Uiua is an array-oriented stack-based language that can perform sophisticated operations on multidimensional arrays with just a handful of glyphs, all from the comfort of your editor of choice. If the veracity of this has you doing a double take at the date of the post. Rest assured, there’s no foolin’! Come see how beautiful array programming can be :)

U ← /=⊞<0.2_0.7 /+×⟜ⁿ1_2
I ← >⌵/ℂ: # Circle
u ← +0.1↧¤ ⊃(I0.95|⊂:0.5⇌°√)
A ← ×⊃U(I1) # Alpha
⍜°⍉(⊂⊃u A) -1÷÷2⟜(⇡↯2) 200

#PLnerd

Photo of Coder Consortium group
Coder Consortium
See more events
Coder Consortium
Photo of Coder Consortium group
No ratings yet
Bloom Workspaces
2014 Capitol Ave · Sacramento, CA