Top 1,000 Features Creators Events Podcasts Extensions Interviews Blog Explorer CSV

APL

< >

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

#91on 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

View source

- Build the next great programming language Β· About Β· Resources Β· Acknowledgements Β· Part of the World Wide Scroll