Top 1,000 Features Creators Resources Blog Explore Download
GitHub icon

APL

< >

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

#111on 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 Β· About Β· Acknowledgements Β· Extensions Β· Day 625 Β· feedback@pldb.io