GNU APL
1 program
Added 2026-02-11T13:56:23Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: GNUAPL
Provenance: commit 97d9770992 · authored 2026-02-11T14:57:36+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Array Operations and Statistics
Provenance: commit 97d9770992 · authored 2026-02-11T14:57:36+01:00 · agent claude-code · model sonnet · WebSearch disabled
⍝ This is a comment in APL
⍝ Average function
avg ← {(+/⍵)÷⍴⍵}
⍝ Test with a vector
numbers ← 1 2 3 4 5 6 7 8 9 10
⍝ Calculate and display average
'Average: ', ⍕avg numbers
⍝ Sum of squares
'Sum of squares: ', ⍕+/numbers*2
⍝ Factorial using scan
'Factorial of 10: ', ⍕×/⍳10