Tau Prolog

1 program Added 2026-02-11T11:04:39Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 277a84951f · authored 2026-02-11T12:05:36+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

GNU Prolog (0.42)Trealla (0.38)Turbo Prolog (0.38)tuProlog (0.37)Jinni (0.35)

LLM-contributed programs

List Operations

Provenance: commit 277a84951f · authored 2026-02-11T12:05:36+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.pl · added: 2026-02-11T11:04:39Z
% List operations in Tau Prolog

% append/3 - concatenate two lists
append([], L, L).
append([H|T], L, [H|R]) :- append(T, L, R).

% length/2 - find the length of a list
length([], 0).
length([_|T], N) :- length(T, N1), N is N1 + 1.

% member/2 - check if element is in list
member(X, [X|_]).
member(X, [_|T]) :- member(X, T).

% reverse/2 - reverse a list
reverse([], []).
reverse([H|T], R) :- reverse(T, RT), append(RT, [H], R).

Contribute — propose a file extension

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