ZINC

1 program Added 2026-02-11T12:35:39Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Zinc
Provenance: commit 6b1f0f9fd2 · authored 2026-02-11T13:36:39+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

FlatZinc (0.31)MiniZinc (0.31)Zing (0.30)FunC (0.18)Zig (0.18)

LLM-contributed programs

N-Queens Problem

Provenance: commit 6b1f0f9fd2 · authored 2026-02-11T13:36:39+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.znc · added: 2026-02-11T12:35:39Z
% N-Queens problem in ZINC
int: n = 8;
array[1..n] of var 1..n: q;

constraint
    forall(i,j in 1..n where i<j)(
        q[i] != q[j] /\
        q[i]+i != q[j]+j /\
        q[i]-i != q[j]-j
    );

solve satisfy;

output ["Queens: ", show(q), "\n"];

Contribute — propose a file extension

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