Lithe

1 program Added 2026-02-07T10:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 5bdc2a9250 · authored 2026-02-07T16:30:03+01:00 · agent claude-code · model sonnet

Sources mentioning this language

4 sources · pl_id: pl/lithe
LLM (this repo) · 1PldbWikipediaWikidata · Q6647840

Related languages

Little (0.36)LispMe (0.25)Lite-C (0.25)Linotte (0.23)Forsythe (0.21)

LLM-contributed programs

Parallel Vector Addition

Provenance: commit 5bdc2a9250 · authored 2026-02-07T16:30:03+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.lithe · added: 2026-02-07T10:30:00Z
/* Parallel vector addition in Lithe */
function vector_add(a, b, n)
{
    result = new_array(n);

    parfor (i = 0; i < n; i++) {
        result[i] = a[i] + b[i];
    }

    return result;
}

function main()
{
    n = 1000;
    a = new_array(n);
    b = new_array(n);

    for (i = 0; i < n; i++) {
        a[i] = i;
        b[i] = i * 2;
    }

    c = vector_add(a, b, n);

    print("First element: ", c[0]);
    print("Last element: ", c[n-1]);
}

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.)

Contribute — propose a file extension

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