Apl

1 program Added 2025-10-22T10:01:02Z Model: anthropic/claude-3.5-sonnetTemp: 0.4 Evidence Report issue View issues
Aliases: APL, A Programming Language
Provenance: commit d4380beb76 · authored 2025-10-22T12:01:02+02:00 · model anthropic/claude-3.5-sonnet

Sources mentioning this language

9 sources · pl_id: pl/apl
LLM (this repo) · 1PldbLinguistPygmentsWikipediaEsolangHyperpolyglotRosettacodeWikidata · Q296187

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsarray · functional · structured · modular
Typingdynamic
Designed byLarry Breed · Dick Lathwell · Roger Moore · others · Kenneth E. Iverson
First appeared1966
Influenced byMathematical notation
LicenseProprietary, open source
Homepagehttps://aplwiki.com/

Extensions claimed by this language

9 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.apllinguistprimary16.9K files
.aplpygmentsprimary16.9K files
.aplcpygmentssecondary917 files
.aplfpygmentssecondary29.6K files
.aplipygmentssecondary4 files
.aplnpygmentssecondary1.5K files
.aplopygmentssecondary365 files
.dyaloglinguistsecondary20.3K files
.dyalogpygmentssecondary20.3K files

Related languages

Eta (0.67)J (0.66)S (0.66)Jac (0.62)Piet (0.62)

LLM-contributed programs

Game of Life in APL

Provenance: commit d4380beb76 · authored 2025-10-22T12:01:02+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
code.apl · license: MIT · added: 2025-10-22T10:01:02Z
life←{⊃1 ⍵ ∨.∧ 3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵}
show←{⎕←(⊂'╭',(⍵-2)⍴'─','╮'),('│',[1](⍺{⍵/' ⍟'}¨⍺⍺),'│'),⊂'╰',(⍵-2)⍴'─','╯'}
⎕←'Enter size (e.g. 20): '
size←⎕
board←size size⍴0
board[1+⍳3;2]←1
board[2;3]←1
board[3;2]←1
{⍵ show size⊢board←life board}⍣≡1

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about Apl (mapped to pl/apl). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Apl/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← api-blueprint APL (programming language) →