MAINSAIL

1 program Added 2026-02-11T08:58:56Z Agent: claude-code-recoveryModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit dd344627ba · authored 2026-02-11T13:26:27+01:00 · agent claude-code-recovery · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

ParaSail (0.25)MATL (0.23)Rail (0.23)Avail (0.21)MANOOL (0.20)

LLM-contributed programs

Factorial Calculator

Provenance: commit dd344627ba · authored 2026-02-11T13:26:27+01:00 · agent claude-code-recovery · model sonnet · WebSearch disabled
code.sail · added: 2026-02-11T08:58:56Z
PROCEDURE FACTORIAL(N: INTEGER): INTEGER;
BEGIN
    IF N <= 1 THEN
        RETURN 1
    ELSE
        RETURN N * FACTORIAL(N - 1);
END;

PROCEDURE MAIN;
VAR
    I: INTEGER;
BEGIN
    FOR I := 1 TO 10 DO
    BEGIN
        PRINT("Factorial of ", I, " is ", FACTORIAL(I));
    END;
END;

Contribute — propose a file extension

Tell us where to find evidence about MAINSAIL (mapped to pl/mainsail). 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/MAINSAIL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Mailman Makam →