Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

APL

< >

APL, aka A Programming Language, is a programming language created in 1964 by Kenneth E. Iverson.

#96on PLDB 60Years Old 416Repos
REPL · Wikipedia · Docs

APL (named after the book A Programming Language) is a programming language developed in the 1960s by Kenneth E. Iverson. Its central datatype is the multidimensional array. Read more on Wikipedia...


Example from Riju:
'Hello, world!'
Example from hello-world:
⎕←'Hello World'
⍝ Hello World in APL ⎕←\'Hello World\'
Example from Linguist:
#!/usr/local/bin/apl --script NEWLINE ← ⎕UCS 10 HEADERS ← 'Content-Type: text/plain', NEWLINE HEADERS ⍝ ⎕←HEADERS ⍝ ⍕⎕TS )OFF
Example from Wikipedia:
txt←'<html><body><p>This is <em>emphasized</em> text.</p></body></html>' ⎕←{⍵/⍨~{⍵∨≠\⍵}⍵∊'<>'}txt

Language features

Feature Supported Example Token
Strings 'Hello world' '
Function Composition foo←f∘g
Line Comments ⍝ A comment
Garbage Collection
Comments
Semantic Indentation X
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll