Zonnon
1 program
Added 2025-11-05T12:17:24Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit ea86faf477 · authored 2025-11-05T13:17:24+01:00 · model google/gemini-2.5-pro
Sources mentioning this language
5 sources · pl_id:
pl/zonnonWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | imperative · structured · modular · object-oriented |
|---|---|
| Typing | strong, hybrid (static and dynamic) |
| Designed by | ETH Zurich · Jürg Gutknecht |
| First appeared | 2013 |
| Influenced by | Oberon · Pascal |
Related 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.
Dining Philosophers in Zonnon
Provenance: commit ea86faf477 · authored 2025-11-05T13:17:24+01:00 · model google/gemini-2.5-pro · Temp 0.4
module Philosophers;
const
NumPhilosophers = 5;
activity Philosopher(id: integer; left, right: Fork);
begin
loop
(* thinking *)
writeln("Philosopher ", id, " is thinking");
delay(random(1000));
writeln("Philosopher ", id, " is hungry");
(* hungry *)
accept get ->
left.get;
right.get;
(* eating *)
writeln("Philosopher ", id, " is eating");
delay(random(1000));
left.put;
right.put;
end
end Philosopher;
activity Fork;
var
taken: boolean;
begin
taken := false;
loop
select
when {~taken} accept get ->
taken := true
[]
when {taken} accept put ->
taken := false
end
end
end Fork;
var
i: integer;
forks: array NumPhilosophers of Fork;
philosophers: array NumPhilosophers of Philosopher;
begin
for i := 0 to NumPhilosophers-1 do
new(forks[i])
end;
for i := 0 to NumPhilosophers-1 do
new(philosophers[i], i, forks[i], forks[(i+1) mod NumPhilosophers])
end
end Philosophers.