CCS
1 program
Added 2026-02-28T12:06:36Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Calculus of Communicating Systems
Provenance: commit f03aa0dbb5 · authored 2026-02-28T13:07:00+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
3 sources · pl_id:
pl/ccsRelated languages
LLM-contributed programs
Vending Machine
Provenance: commit f03aa0dbb5 · authored 2026-02-28T13:07:00+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
(* CCS: Calculus of Communicating Systems - vending machine example *)
(* A simple vending machine that accepts a coin then dispenses coffee or tea *)
VendingMachine = coin . (coffee . VendingMachine
+ tea . VendingMachine)
(* A customer who inserts a coin and then takes either coffee or tea *)
Customer = coin . (coffee . Customer
+ tea . Customer)
(* The complete system with coin and drink channels hidden *)
System = (VendingMachine | Customer) \ {coin, coffee, tea}
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.)