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)
LLM (this repo) · 1

Related languages

SPL (0.59)HiLog (0.46)Apl (0.41)J (0.41)S (0.41)

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
code.zspl · added: 2026-03-05T10:00:00Z
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;

Contribute — propose a file extension

Tell us where to find evidence about ZSPL (mapped to pl/zspl). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/ZSPL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Zsh ZT →