XCSP3

1 program Added 2026-03-12T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: XCSP
Provenance: commit 024b7ac2f7 · authored 2026-03-12T12:53:05+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

XLISP (0.21)Lasp (0.15)Wasp (0.15)Wisp (0.15)Forsp (0.14)

LLM-contributed programs

8-Queens Problem

Provenance: commit 024b7ac2f7 · authored 2026-03-12T12:53:05+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.xml · added: 2026-03-12T10:00:00Z
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<instance format="XCSP3" type="CSP">
  <variables>
    <array id="q" note="q[i] is the column of the queen in row i" size="[8]" type="integer">
      0..7
    </array>
  </variables>
  <constraints>
    <allDifferent id="c1">
      q[]
    </allDifferent>
    <allDifferent id="c2">
      <list> (q[i]+i) : i in 0..7 </list>
    </allDifferent>
    <allDifferent id="c3">
      <list> (q[i]-i) : i in 0..7 </list>
    </allDifferent>
  </constraints>
</instance>

Contribute — propose a file extension

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