Flat Concurrent Prolog

1 program Added 2026-02-23T20:06:26Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: FCP
Provenance: commit 31861d468f · authored 2026-02-23T21:06:53+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

Concurrent Prolog (0.57)ConGolog (0.36)Concurrent C (0.35)Concurrent Clean (0.31)Concurrent Pascal (0.31)

LLM-contributed programs

Counter Process

Provenance: commit 31861d468f · authored 2026-02-23T21:06:53+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.pl · added: 2026-02-23T20:06:26Z
counter(In) :-
    counter(In,0).

counter(In,_) :-
  In =?= [clear|In'] |
    counter(In',0).
counter(In,C) :-
  In =?= [increment|In'] |
    C' := C + 1,
    counter(In',C').
counter(In,C) :-
  In =?= [read(V)|In'] |
    V = C,
    counter(In',C).
counter(In,_) :-
  In =?= [] | true.

Contribute — propose a file extension

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