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)
LLM (this repo) · 1

Related languages

GAWK (0.26)GMPL (0.23)GNU Pascal (0.22)GNU Poke (0.21)Dyalog (0.19)

LLM-contributed programs

Array Operations and Statistics

Provenance: commit 97d9770992 · authored 2026-02-11T14:57:36+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.apl · license: GPL-3.0 · added: 2026-02-11T13:56:57Z
⍝ 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

Contribute — propose a file extension

Tell us where to find evidence about GNU APL (mapped to pl/gnu_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/GNU APL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← gns GNU E →