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)
Related languages
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Bubble Sort
Provenance: commit ded8155519 · authored 2026-03-05T18:55:12+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
@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]);
}
}