GP2

1 program Added 2026-02-27T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Graph Programs 2
Provenance: commit c701177769 · authored 2026-02-27T11:58:08+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Prograph (0.33)GraphQL (0.20)Gosu (0.17)GRAP (0.17)Prolog (0.15)

LLM-contributed programs

Transitive Closure

Provenance: commit c701177769 · authored 2026-02-27T11:58:08+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.gp2 · added: 2026-02-27T10:00:00Z
Main = link!

link (a,b,x,y,z: list)
[ (n0, x) (n1, y) (n2, z) |
  (e0, n0, n1, a) (e1, n1, n2, b) ]
 =>
[ (n0, x) (n1, y) (n2, z) |
  (e0, n0, n1, a) (e1, n1, n2, b) (e2, n0, n2, empty) ]
interface = {n0, n1, n2}
where not edge(n0, n2)

Contribute — propose a file extension

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