Concurrent C

1 program Added 2026-02-10T19:25:22.838664Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 4d31d35625 · authored 2026-02-10T20:43:39+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

Concurrent Clean (0.57)CML (0.52)Concurrent ML (0.52)Concurrent Euclid (0.50)Concurrent Pascal (0.50)

LLM-contributed programs

Producer-Consumer Example

Provenance: commit 4d31d35625 · authored 2026-02-10T20:43:39+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.c · added: 2026-02-10T19:25:22.838664Z
process spec producer(chan(int) c)
{
    int i;
    for (i = 0; i < 10; i++) {
        c ! i;  /* send i to channel c */
    }
}

process spec consumer(chan(int) c)
{
    int v;
    while (1) {
        c ? v;  /* receive from channel c */
        printf("Received: %d\n", v);
        if (v >= 9) break;
    }
}

process body main()
{
    chan(int) ch = create chan(int, 5);
    process producer(ch);
    process consumer(ch);
}

Contribute — propose a file extension

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