CD++

1 program Added 2026-03-05T00:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: CDPP, Cell-DEVS simulator
Provenance: commit 2371f2afb1 · authored 2026-03-05T11:32:54+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/cd
LLM (this repo) · 1Esolang

Related languages

Cell-DEVS (0.28)Simula (0.14)Simula I (0.13)Simula67 (0.13)MACSYMA (0.13)

LLM-contributed programs

Traffic Simulation

Provenance: commit 2371f2afb1 · authored 2026-03-05T11:32:54+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.ma · added: 2026-03-05T00:00:00Z
[top]
components : traffic

[traffic]
type : cell
dim : (5,5)
delay : transport
defaultDelayTime : 1000
border : wrapped
neighbors : traffic(-1,0)
neighbors : traffic(0,-1) traffic(0,0) traffic(0,1)
neighbors : traffic(1,0) traffic(1,1)
initialvalue : 0
initialrowvalue : 0 01011
initialrowvalue : 1 00210
initialrowvalue : 2 20102
initialrowvalue : 3 00200
initialrowvalue : 4 00120
localtransition : traffic-rule

# NOTA: Usamos 1 para representar autos que van hacia la derecha, y 2 para
# representar autos que van hacia arriba. 0 significa que no hay autos
# en esa casilla.

[traffic-rule]
rule : 2 1000 { (0,0) = 2 and (-1,0) != 0 }
rule : 0 1000 { (0,0) = 2 and (-1,0) = 0 }
rule : 2 1000 { (0,0) = 0 and (1,0) = 2 }
rule : 1 1000 { (0,0) = 1 and (0,1) = 0 and (1,1) = 2 }
rule : 1 1000 { (0,0) = 1 and (0,1) != 0 }
rule : 0 1000 { (0,0) = 1 and (0,1) = 0 }
rule : 1 1000 { (0,0) = 0 and (0,-1) = 1 }
rule : 0 1000 { (0,0) = 0 }

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 CD++ (mapped to pl/cd). 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/CD++/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← CCured cda →