Measures Concepts
GitHub icon

APL

APL - Programming language

< >

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

#92on PLDB 60Years Old 416Repos

Try now: Web · Riju · Replit

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 Token Example
Strings '
'Hello world'
Function Composition
foo←f∘g
Line Comments
⍝ A comment
Garbage Collection
Comments
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout