Quintus Prolog

1 program Added 2026-02-16T10:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Quintus
Provenance: commit 2a23154fa1 · authored 2026-02-16T17:25:05+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

SICStus Prolog (0.42)Qu-Prolog (0.38)Quint (0.26)Tau Prolog (0.26)Ciao Prolog (0.24)

LLM-contributed programs

Quicksort

Provenance: commit 2a23154fa1 · authored 2026-02-16T17:25:05+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.pl · added: 2026-02-16T10:30:00Z
% Quicksort implementation in Prolog

quicksort([], []).
quicksort([H|T], Sorted) :-
    partition(H, T, Left, Right),
    quicksort(Left, SortedLeft),
    quicksort(Right, SortedRight),
    append(SortedLeft, [H|SortedRight], Sorted).

partition(_, [], [], []).
partition(Pivot, [H|T], [H|Left], Right) :-
    H =< Pivot, !,
    partition(Pivot, T, Left, Right).
partition(Pivot, [H|T], Left, [H|Right]) :-
    H > Pivot,
    partition(Pivot, T, Left, Right).

Contribute — propose a file extension

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