ChucK
1 program
Added 2025-10-23T08:24:04Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 20813bd968 · authored 2025-10-23T10:24:04+02:00 · model google/gemini-2.5-pro
Sources mentioning this language
7 sources · pl_id:
pl/chuckWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm |
|---|---|
| Typing | strong |
| Designed by | Ge Wang |
| First appeared | 2003 |
| License | Mac, Linux, Windows: GPL-2.0-or-later iOS: Proprietary |
| Homepage | http://chuck.cs.princeton.edu |
Extensions claimed by this language
1 claim. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.ck | linguist | primary | 73.3K files |
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.
Pachelbel's Canon in D
Provenance: commit 20813bd968 · authored 2025-10-23T10:24:04+02:00 · model google/gemini-2.5-pro · Temp 0.4
/*
* canon.ck
*
* Pachelbel's Canon in D
*
* by Perry R. Cook, 2005
*
* This is a four-part canon, with the parts entering
* at two measure intervals. The bass line is two measures
* long and repeats throughout. The three violin parts
* are identical, but delayed in time.
*
*/
// Two measures of bass line
[ 62, 58, 60, 55, 57, 53, 57, 58 ] @=> int bassLine[];
// One measure of violin melody
[ 69, 73, 74, 73, 71, 69, 71, 68 ] @=> int violin1[];
[ 69, 66, 68, 64, 66, 62, 66, 68 ] @=> int violin2[];
fun void playViolin( Sitar s, float gain )
{
s.gain(gain);
for (0 => int i; i < 8; i++ ) {
for (0 => int j; j < 8; j++) {
Std.mtof(violin1[j]) => s.freq;
120::ms => now;
}
for (0 => int j; j < 8; j++) {
Std.mtof(violin2[j]) => s.freq;
120::ms => now;
}
}
}
fun void playBass( Rhodey r, float gain )
{
r.gain(gain);
while(1) {
for (0 => int i; i < 8; i++) {
Std.mtof(bassLine[i]) => r.freq;
480::ms => now;
}
}
}
Rhodey bass => dac;
Sitar violinSection[3];
for (0 => int i; i < 3; i++) {
violinSection[i] => dac;
}
spork ~ playBass(bass, 0.4);
for (0 => int i; i < 3; i++) {
spork ~ playViolin(violinSection[i], 0.4 - i*0.08);
16 * 120::ms => now;
}