Cook

1 program Added 2026-03-17T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: cook build tool
Provenance: commit 230ea80a71 · authored 2026-03-17T00:03:59+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

COOL (0.33)COMPOOL (0.23)cooltt (0.18)Cowgol (0.18)Genius (0.14)

LLM-contributed programs

Build a C project with Cook

Provenance: commit 230ea80a71 · authored 2026-03-17T00:03:59+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.cook · added: 2026-03-17T10:00:00Z
/*
 * Cook recipe to build a small C project
 * Demonstrates Cook's meta-language features
 */

source  = [glob *.c];
objects = [fromto %.c %.o [source]];

all: program;

program: [objects]
{
    cc [objects] -o [target];
}

%.o: %.c
{
    cc -c [need] -o [target];
}

clean:
{
    rm -f [objects] program;
}

Contribute — propose a file extension

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