VDM-RT
1 program
Added 2026-03-05T12:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Vienna Development Method Real-Time, VDM Real-Time
Provenance: commit 8eea960f96 · authored 2026-03-05T12:19:00+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.
Calculator with Factorial
Provenance: commit 8eea960f96 · authored 2026-03-05T12:19:00+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
system World
instance variables
cpu1 : CPU := new CPU(<FCFS>, 1E6);
instance variables
c : Calculator := new Calculator();
operations
World() ==
cpu1.deploy(c, "Calculator")
end World
class Calculator
instance variables
private result : int := 0;
operations
public add : int * int ==> int
add(x, y) ==
(
result := x + y;
return result
);
public factorial : nat ==> nat
factorial(n) ==
if n = 0
then return 1
else return n * factorial(n - 1);
public run : () ==> ()
run() ==
(
IO`println(add(3, 4));
IO`println(factorial(5))
)
end Calculator