Comet

1 program Added 2026-02-11T00:00:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 22bf97f96f · authored 2026-02-11T14:13:23+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

COMEFROM (0.31) (0.29)Cogent (0.25)cooltt (0.25)Coconut (0.23)

LLM-contributed programs

N-Queens Problem

Provenance: commit 22bf97f96f · authored 2026-02-11T14:13:23+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.co · added: 2026-02-11T00:00:00Z
import cotfd;

int n = 8;
Solver<CP> m();
var<CP>{int} queen[1..n](m, 1..n);

m.post(alldifferent(queen));
m.post(alldifferent(all(i in 1..n) queen[i] + i));
m.post(alldifferent(all(i in 1..n) queen[i] - i));

solve<m> {
  forall(i in 1..n by 2)
    m.label(queen[i]);
  forall(i in 2..n by 2)
    m.label(queen[i]);
}

forall(i in 1..n)
  cout << queen[i] << " ";
cout << endl;

Contribute — propose a file extension

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