PSF

1 program Added 2026-03-12T00:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Process Specification Formalism
Provenance: commit 5c353b8128 · authored 2026-03-12T01:35:52+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

ISPS (0.31)PSL (0.25)JFlex (0.24)Z (0.23)PEPA (0.23)

LLM-contributed programs

Vending Machine

Provenance: commit 5c353b8128 · authored 2026-03-12T01:35:52+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.psf · added: 2026-03-12T00:00:00Z
% Vending machine specification in PSF
% Reference: Mauw and Veltink, PSF - A Process Specification Formalism, CWI 1993

sorts
  Coin, Beverage

functions
  euro   : -> Coin
  coffee : -> Beverage
  tea    : -> Beverage

actions
  insert : Coin
  choose : Beverage
  serve  : Beverage

processes
  MACHINE = insert(euro) . CHOICE

  CHOICE = choose(coffee) . serve(coffee) . MACHINE
         + choose(tea)    . serve(tea)    . MACHINE

init
  MACHINE

Contribute — propose a file extension

Tell us where to find evidence about PSF (mapped to pl/psf). 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/PSF/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Pseudocode (College Board) psg →