ABC ALGOL
1 program
Added 2026-02-13T10:23:38Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: ALGOL-ABC
Provenance: commit b1aed5fb0d · authored 2026-02-13T11:24:13+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/abc-algolRelated languages
LLM-contributed programs
Fibonacci Sequence
Provenance: commit b1aed5fb0d · authored 2026-02-13T11:24:13+01:00 · agent claude-code · model sonnet · WebSearch disabled
begin
integer procedure fibonacci(n);
integer n;
begin
integer a, b, temp, i;
a := 0;
b := 1;
if n = 0 then fibonacci := 0
else if n = 1 then fibonacci := 1
else begin
for i := 2 step 1 until n do
begin
temp := a + b;
a := b;
b := temp
end;
fibonacci := b
end
end;
integer k;
for k := 0 step 1 until 10 do
outinteger(1, fibonacci(k))
end
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.)