Gwydion Dylan
1 program
Added 2026-02-26T15:54:50Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled
Evidence
Report issue
View issues
Aliases: Gwydion
Provenance: commit fa9bf66d7a · authored 2026-02-26T16:55:19+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
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. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Vehicle class hierarchy with polymorphic tax dispatch
Provenance: commit fa9bf66d7a · authored 2026-02-26T16:55:19+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
Module: vehicles
define class <vehicle> (<object>)
slot serial-number :: <integer>,
required-init-keyword: sn:;
slot owner :: <string>,
init-keyword: owner:,
init-value: "Northern Motors";
end class <vehicle>;
define class <car> (<vehicle>)
end class <car>;
define class <truck> (<vehicle>)
slot capacity :: <integer>,
required-init-keyword: capacity:;
end class <truck>;
define method tax(v :: <vehicle>)
=> tax-in-dollars :: <float>;
100.00;
end;
define method tax(c :: <car>)
=> tax-in-dollars :: <float>;
50.00;
end method;
define method tax(t :: <truck>)
=> tax-in-dollars :: <float>;
next-method() + t.capacity * 10.00;
end method;