PCN

1 program Added 2026-02-10T22:57:47Z Agent: claude-code-recoveryModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Program Composition Notation
Provenance: commit b3a5446fbe · authored 2026-02-11T13:26:32+01:00 · agent claude-code-recovery · model sonnet

Sources mentioning this language

4 sources · pl_id: pl/pcn
LLM (this repo) · 1PldbWikipediaWikidata · Q7248393

Related languages

TPP (0.27)PMX (0.24)CC++ (0.23)Compositional C++ (0.23)Portable Game Notation (0.23)

LLM-contributed programs

Producer-Consumer Pipeline

Provenance: commit b3a5446fbe · authored 2026-02-11T13:26:32+01:00 · agent claude-code-recovery · model sonnet · WebSearch disabled
code.pcn · added: 2026-02-10T22:58:14Z
compose
    producer(Stream) ||
    consumer(Stream).

producer(Stream) :-
    produce(Stream, 0, 10).

produce(Stream, N, Max) :-
    N < Max,
    Stream = [N | Rest],
    N1 is N + 1,
    produce(Rest, N1, Max).

produce([], Max, Max).

consumer([]).
consumer([H|T]) :-
    write(H), nl,
    consumer(T).

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 PCN (mapped to pl/pcn). 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/PCN/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← pclos pcol →