XSB
1 program
Added 2026-02-06T15:30:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 5f11df4b7f · authored 2026-02-06T13:14:10+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/xsbWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | logic |
|---|---|
| Designed by | David S. Warren · Theresa Swift · Kostis Sagonas |
| Influenced by | Prolog · PSB-Prolog · SB-Prolog |
| Homepage | http://xsb.sf.net |
LLM-contributed programs
Fibonacci with Tabling
Provenance: commit 5f11df4b7f · authored 2026-02-06T13:14:10+01:00 · agent claude-code · model sonnet · WebSearch disabled
% Fibonacci numbers using tabling
:- table fib/2.
fib(0, 0).
fib(1, 1).
fib(N, F) :-
N > 1,
N1 is N - 1,
N2 is N - 2,
fib(N1, F1),
fib(N2, F2),
F is F1 + F2.
% Query to compute fibonacci of 10
:- fib(10, F), writeln(F).
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.)