APL2
1 program
Added 2026-02-10T10:40:58Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: APL/2, IBM APL2
Provenance: commit 9aec015d74 · authored 2026-02-10T11:41:48+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/apl2Related languages
LLM-contributed programs
Sieve of Eratosthenes
Provenance: commit 9aec015d74 · authored 2026-02-10T11:41:48+01:00 · agent claude-code · model sonnet · WebSearch disabled
⍝ Sieve of Eratosthenes
⍝ Returns all primes up to N
Primes←{
N←⍵
P←2=+⌿0=∘.|⍨⍳N
P/⍳N
}
⍝ Example: Primes 30
⍝ Result: 2 3 5 7 11 13 17 19 23 29
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.)