APL, aka A Programming Language, is a programming language created in 1964 by Kenneth E. Iverson.
| #98on PLDB | 62Years Old | 416Repos |
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...
'Hello, world!'
⎕←'Hello World'
⍝ Hello World in APL
⎕←\'Hello World\'#!/usr/local/bin/apl --script
NEWLINE ← ⎕UCS 10
HEADERS ← 'Content-Type: text/plain', NEWLINE
HEADERS
⍝ ⎕←HEADERS
⍝ ⍕⎕TS
)OFF
txt←'<html><body><p>This is <em>emphasized</em> text.</p></body></html>'
⎕←{⍵/⍨~{⍵∨≠\⍵}⍵∊'<>'}txt| Feature | Supported | Example | Token |
|---|---|---|---|
| Strings | ✓ | 'Hello world' | ' |
| Function Composition | ✓ | foo←f∘g | |
| Line Comments | ✓ | ⍝ A comment | ⍝ |
| Garbage Collection | ✓ | ||
| Comments | ✓ | ||
| Semantic Indentation | X |