Promela
1 program
Added 2025-10-28T05:34:31Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit e87de490ad · authored 2025-10-28T06:34:31+01:00 · model x-ai/grok-4-fast
Sources mentioning this language
6 sources · pl_id:
pl/promelaExtensions claimed by this language
7 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.pml | linguist | primary | 167.2K files |
.pml | pygments | primary | 167.2K files |
.pm | pygments | secondary | 10.0M files |
.pr | pygments | secondary | 23.0K files |
.prm | pygments | secondary | 113.6K files |
.prom | pygments | secondary | 13.1K files |
.promela | pygments | secondary | 197 files |
Related languages
LLM-contributed programs
Simple client-server example
Provenance: commit e87de490ad · authored 2025-10-28T06:34:31+01:00 · model x-ai/grok-4-fast · Temp 0.4
#define N 2
mtype = { join, data, ack };
chan q = [4] of { mtype, byte }; /* a channel with 4 slots */
active proctype Server() {
byte n; mtype cmd;
do
:: q ? cmd, n ->
if
:: cmd == join -> printf("S: %d joins the club\n", n)
:: cmd == data -> printf("S: %d sends data\n", n)
fi;
q ! ack, 0
od
}
active [N] proctype Client() {
byte me = _pid; /* my own process id */
q ! join, me;
q ? ack, -;
q ! data, me;
q ? ack, -
}
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.)