Sidef
1 program
Added 2025-11-12T13:24:32Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 508e12e2ee · authored 2025-11-12T14:24:32+01:00 · model x-ai/grok-4-fast
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.
Quicksort Implementation
Provenance: commit 508e12e2ee · authored 2025-11-12T14:24:32+01:00 · model x-ai/grok-4-fast · Temp 0.4
func qsort(lst) {
var len = lst.len
len < 2 and return lst
var pivot = lst.pop
var lo = lst.grep { _ < pivot }
var hi = lst.grep { _ >= pivot }
return qsort(lo) + [pivot] + qsort(hi)
}
say qsort([3,1,4,1,5,9,2,6])