Vera
1 program
Added 2026-02-28T19:03:24Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled
Evidence
Report issue
View issues
Aliases: OpenVera
Provenance: commit 16328ce253 · authored 2026-02-28T20:03:54+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/openveraRelated 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.
Loop Control Examples
Provenance: commit 16328ce253 · authored 2026-02-28T20:03:54+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
program loop_control {
integer i;
// For loop continue
printf("-----FOR LOOP CONTINUE---\n");
for (i = 0 ; i < 3; i ++ ) {
if (i == 1) continue;
printf("Value of i is %0d\n",i);
}
// repeat loop continue
i = 0;
printf("-----REPEAT LOOP CONTINUE---\n");
repeat (3) {
i ++;
if (i == 2) {
continue;
}
printf("Value of i is %0d\n",i);
}
// while loop continue
printf("-----WHILE LOOP CONTINUE---\n");
while (i > 0) {
i --;
if (i == 2) {
continue;
}
printf("Value of i is %0d\n",i);
}
// For loop break
printf("-----FOR LOOP BREAK---\n");
for (i = 0 ; i < 3; i ++ ) {
if (i == 1) break;
printf("Value of i is %0d\n",i);
}
// repeat loop break
i = 0;
printf("-----REPEAT LOOP BREAK---\n");
repeat (3) {
i ++;
if (i == 2) {
break;
}
printf("Value of i is %0d\n",i);
}
// while loop break
i = 5;
printf("-----WHILE LOOP BREAK---\n");
while (i > 0) {
i --;
if (i == 2) {
break;
}
printf("Value of i is %0d\n",i);
}
}