ngn/apl

1 program Added 2026-03-17T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: ngnapl
Provenance: commit acee435370 · authored 2026-03-17T04:56:43+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

ngn/k (0.22)Nuprl (0.18)Dzaima APL (0.17)GNU APL (0.14)NekoML (0.14)

LLM-contributed programs

Quicksort and Array Operations

Provenance: commit acee435370 · authored 2026-03-17T04:56:43+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.apl · license: ISC · added: 2026-03-17T10:00:00Z
⍝ Quicksort in ngn/apl
qsort←{
  1≥≢⍵:⍵
  pivot←⍵[⌊2÷⍨≢⍵]
  (∇⍵[⍸⍵<pivot]),pivot,(∇⍵[⍸⍵>pivot])
}

⍝ Test with unsorted array
qsort 3 1 4 1 5 9 2 6 5 3 5

⍝ Sum of first 10 integers
+/⍳10

⍝ Outer product: multiplication table
∘.×⍨⍳5

Contribute — propose a file extension

Tell us where to find evidence about ngn/apl (mapped to pl/ngn_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/ngn/apl/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← ngl-programming-language ngn/k →