Asir

1 program Added 2026-02-10T11:59:58Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Risa/Asir
Provenance: commit 4c3d84b25a · authored 2026-02-10T13:01:50+01:00 · agent claude-code · model sonnet

Sources mentioning this language

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

Related languages

Risa/Asir (0.65)Risor (0.18)Noir (0.12)Actor (0.11)Aldor (0.11)

LLM-contributed programs

Factorial Function

Provenance: commit 4c3d84b25a · authored 2026-02-10T13:01:50+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.rr · added: 2026-02-10T11:59:58Z
/* Factorial function in Risa/Asir */
def fact(N) {
    if (N == 0) {
        return 1;
    } else {
        return N * fact(N - 1);
    }
}

/* Test the factorial function */
for (I = 0; I <= 10; I++) {
    print(I, "! =", fact(I));
}

Contribute — propose a file extension

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