BNR Prolog

1 program Added 2026-02-13T14:41:50Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: BNR-Prolog, Bell-Northern Research Prolog
Provenance: commit f6136d1db1 · authored 2026-02-13T15:43:03+01:00 · agent claude-code · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/bnr-prolog
LLM (this repo) · 1WikipediaWikidata · Q60790863

Related languages

B-Prolog (0.21)BProlog (0.21)YAP (0.18)YAP Prolog (0.18)mu-Prolog (0.16)

LLM-contributed programs

Interval Constraint Solver

Provenance: commit f6136d1db1 · authored 2026-02-13T15:43:03+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.pl · added: 2026-02-13T14:42:24Z
% BNR Prolog example: Interval arithmetic constraint solving
% Solving a system with interval constraints

:- use_module(library(clpBNR)).

% Define a predicate to solve for X and Y given constraints
solve_intervals(X, Y) :-
    X:: 0..10,
    Y:: 0..10,
    {X + Y == 10},
    {X * Y >= 20},
    {X >= Y}.

% Example query to find solutions
% ?- solve_intervals(X, Y).

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about BNR Prolog (mapped to pl/bnr-prolog). 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/BNR Prolog/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← bnf Boa →