LBasic
1 program
Added 2026-03-13T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: lbasic, L-Basic
Provenance: commit 847573cc33 · authored 2026-03-13T08:04:46+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.
Sieve of Eratosthenes
Provenance: commit 847573cc33 · authored 2026-03-13T08:04:46+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
' LBasic - Sieve of Eratosthenes
' Find all prime numbers up to 100
DIM sieve(100)
FOR i = 2 TO 100
sieve(i) = 1
NEXT i
FOR i = 2 TO 10
IF sieve(i) = 1 THEN
FOR j = i*i TO 100 STEP i
sieve(j) = 0
NEXT j
END IF
NEXT i
PRINT "Prime numbers up to 100:"
count = 0
FOR i = 2 TO 100
IF sieve(i) = 1 THEN
PRINT i
count = count + 1
END IF
NEXT i
PRINT "Total primes found: "; count