LScript

1 program Added 2026-03-05T12:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: LScript 2.x
Provenance: commit ded8155519 · authored 2026-03-05T18:55:12+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

LiveScript (0.38)LuneScript (0.35)CobolScript (0.29)LotusScript (0.29)ZScript (0.28)

LLM-contributed programs

Bubble Sort

Provenance: commit ded8155519 · authored 2026-03-05T18:55:12+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.lsc · added: 2026-03-05T12:00:00Z
@version 2.2
@warnings

// Bubble sort implementation in LScript for LightWave 3D
generic
{
    integer arr[];
    integer i, j, temp, n;

    arr[1] = 64;
    arr[2] = 34;
    arr[3] = 25;
    arr[4] = 12;
    arr[5] = 22;
    arr[6] = 11;
    arr[7] = 90;
    n = 7;

    for (i = 1; i <= n - 1; i++)
    {
        for (j = 1; j <= n - i; j++)
        {
            if (arr[j] > arr[j + 1])
            {
                temp = arr[j];
                arr[j] = arr[j + 1];
                arr[j + 1] = temp;
            }
        }
    }

    info("Sorted array:");
    for (i = 1; i <= n; i++)
    {
        info(arr[i]);
    }
}

Contribute — propose a file extension

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