Rel

1 program Added 2026-03-13T12:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Tutorial D, RelDB
Provenance: commit c9be16e5a0 · authored 2026-03-13T00:10:49+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/rel
LLM (this repo) · 1Pldb

Related languages

Tutorial D (0.40)TUTOR (0.17)Recital (0.17)Refal (0.12)Rell (0.10)

LLM-contributed programs

Suppliers Query

Provenance: commit c9be16e5a0 · authored 2026-03-13T00:10:49+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.rel · added: 2026-03-13T12:00:00Z
-- Suppliers example in Tutorial D / Rel
VAR S BASE RELATION {
    SNO CHAR,
    SNAME CHAR,
    STATUS INTEGER,
    CITY CHAR
} KEY { SNO };

INSERT S RELATION {
    TUPLE { SNO 'S1', SNAME 'Smith', STATUS 20, CITY 'London' },
    TUPLE { SNO 'S2', SNAME 'Jones', STATUS 10, CITY 'Paris' },
    TUPLE { SNO 'S3', SNAME 'Blake', STATUS 30, CITY 'Paris' },
    TUPLE { SNO 'S4', SNAME 'Clark', STATUS 20, CITY 'London' },
    TUPLE { SNO 'S5', SNAME 'Adams', STATUS 30, CITY 'Athens' }
};

-- Query: suppliers in London with status greater than 15
WRITELN S WHERE CITY = 'London' AND STATUS > 15;

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 Rel (mapped to pl/rel). 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/Rel/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← reko-decompiler rel-english →