Nyx

1 program Added 2026-03-06T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: NYX Language
Provenance: commit 99322cb36c · authored 2026-03-06T01:41:20+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

Io (0.45)Xi (0.45)Eve (0.43)Lime (0.43)Nit (0.43)

LLM-contributed programs

Quicksort

Provenance: commit 99322cb36c · authored 2026-03-06T01:41:20+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.nyx · license: MIT · added: 2026-03-06T10:00:00Z
 func quickSort(arr, left, right){
        if(left>right) {
            return
        }
        i = left
        j = right
        pivot = arr[left]
        while(i<j){
            while(i<j && arr[j]>pivot){
                j-=1
            }
            if(i<j){
                arr[i] = arr[j]
                i+=1
            }
            while(i<j && arr[i]<pivot){
                 i+=1
            }
            if(i<j){
                arr[j] = arr[i]
                j-=1
            }

        }
        arr[i] = pivot
        quickSort(arr,left,i-1)
        quickSort(arr,i+1,right)
    }

arr= [4, -5, 9,15,-6,-2,0]
print(arr)
quickSort(arr,0,arr.length()-1)
println(" => " + arr)

Contribute — propose a file extension

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