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/zonnon
LLM (this repo) · 1PldbWikipediaRosettacodeWikidata · Q219959

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsimperative · structured · modular · object-oriented
Typingstrong, hybrid (static and dynamic)
Designed byETH Zurich · Jürg Gutknecht
First appeared2013
Influenced byOberon · Pascal

Related languages

Axon (0.17)Dyon (0.17)Muon (0.17)Neon (0.17)Zoem (0.17)

LLM-contributed programs

Dining Philosophers in Zonnon

Provenance: commit ea86faf477 · authored 2025-11-05T13:17:24+01:00 · model google/gemini-2.5-pro · Temp 0.4
code.znn · added: 2025-11-05T12:17:24Z
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.

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 Zonnon (mapped to pl/zonnon). 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/Zonnon/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← zone Zoophilia →