ZSPL
1 program
Added 2026-03-05T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Zilog System Programming Language, Z-SPL
Provenance: commit 337f181d01 · authored 2026-03-05T10:45:41+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
LLM-contributed programs
Array Sum
Provenance: commit 337f181d01 · authored 2026-03-05T10:45:41+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
MODULE SumArray;
(* Compute the sum of an array of words *)
DECLARE N CONSTANT WORD := 8;
DECLARE Data(*) WORD := (3, 1, 4, 1, 5, 9, 2, 6);
DECLARE Total WORD;
PROCEDURE ArraySum(A(*) WORD; LEN WORD) WORD;
DECLARE I WORD;
DECLARE Acc WORD;
Acc := 0;
FOR I := 0 TO LEN - 1 DO
Acc := Acc + A(I);
RETURN Acc;
END ArraySum;
Total := ArraySum(Data, N);
END SumArray;