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/promela
LLM (this repo) · 1PldbLinguistPygmentsWikipediaWikidata · Q948666

Extensions 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.
ExtensionSourceStrengthSWH
.pmllinguistprimary167.2K files
.pmlpygmentsprimary167.2K files
.pmpygmentssecondary10.0M files
.prpygmentssecondary23.0K files
.prmpygmentssecondary113.6K files
.prompygmentssecondary13.1K files
.promelapygmentssecondary197 files

Related languages

Pamela (0.38)PROSE (0.23)Piccola (0.20)ProbLog (0.19)Andromeda (0.18)

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
code.pml · added: 2025-10-28T05:34:31Z
#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.)

Contribute — propose a file extension

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