Keykit
1 program
Added 2026-02-23T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled
Evidence
Report issue
View issues
Aliases: KeyKit, KCL
Provenance: commit 5bb4a2cfd9 · authored 2026-02-23T18:33:13+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
4 sources · pl_id:
pl/keykitWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Designed by | AT&T / Tim Thompson |
|---|---|
| License | Free for non-commercial use |
| Homepage | http://nosuch.com/keykit |
Related languages
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.)
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. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Stochastic Music Generation
Provenance: commit 5bb4a2cfd9 · authored 2026-02-23T18:33:13+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
function stochgen(ph,chunksize) {
ph = onlynotes(ph)
Gen = []
# Fill in the starting chunk
ch = ''
for ( n=1; n<chunksize; n++ ) {
ch += strip(ph%n)
}
ch = strip(ch)
limit = sizeof(ph)
# Take each successive note, add an entry to the Gen
# array to indicate that that note can follow the current
# chunk, then remove the first note of the chunk, add the
# new note to the end of the chunk, and loop.
for ( ; n <= limit ; n++ ) {
nextnt = ph%n
nextnt.time = 0
nextnt.length = nextnt.dur
if ( ! ch in Gen )
Gen[ch] = ''
Gen[ch] += nextnt
ch%1 = ''
if ( sizeof(ch) == 0 )
ch = ''
else {
t1 = ch%(1).time
ch.time -= t1
ch.length -= t1
}
ch += nextnt
}
}
function printstoch() {
for ( nt in Gen ) {
print("Gen[",nt,"] = ",Gen[nt])
}
}
function makestoch(cnt) {
n = 0
for ( ch in Gen )
n++
n = rand(n)
for ( ch in Gen ) {
if ( n-- <= 0 )
break
}
ch = phrase(ch)
result = ch
while ( cnt-- > 0 ) {
if ( ! ch in Gen ) {
print("Terminating condition, ch=",ch)
break
}
choices = Gen[ch]
if ( sizeof(choices) == 0 ) {
print("Hey, Gen[",ch,"] is null?")
break
}
choice = choices%(1+rand(sizeof(choices)))
choice = strip(choice)
result += choice
ch%(1)=''
if ( sizeof(ch) == 0 )
ch = ''
else {
t1 = ch%(1).time
ch.time -= t1
ch.length -= t1
}
ch += choice
}
return(result)
}