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/cdRelated languages
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.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Traffic Simulation
Provenance: commit 2371f2afb1 · authored 2026-03-05T11:32:54+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
[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 }