Bertrand

1 program Added 2026-02-11T20:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 50427c9e70 · authored 2026-02-11T14:37:45+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

Strand (0.38)Berry (0.21)Beryl (0.21)Transd (0.20)Fortran (0.18)

LLM-contributed programs

Constraint Satisfaction Problem

Provenance: commit 50427c9e70 · authored 2026-02-11T14:37:45+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.bertrand · added: 2026-02-11T20:30:00Z
% Simple constraint satisfaction problem in Bertrand
% Find X and Y such that X + Y = 10 and X * Y = 21

solve(X, Y) :-
    X + Y = 10,
    X * Y = 21,
    X >= Y.

% Query: solve(X, Y)
% Expected: X = 7, Y = 3

Contribute — propose a file extension

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