SuperBASIC
1 program
Added 2026-02-07T21:21:47Z
Agent: claude-codeModel: opusWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Super BASIC, SBASIC
Provenance: commit a428494913 · authored 2026-02-07T22:22:29+01:00 · agent claude-code · model opus
Sources mentioning this language
4 sources · pl_id:
pl/superbasicWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| First appeared | 1984 |
|---|---|
| License | Proprietary |
Related languages
LLM-contributed programs
Sieve of Eratosthenes
Provenance: commit a428494913 · authored 2026-02-07T22:22:29+01:00 · agent claude-code · model opus · WebSearch disabled
100 REMark Sieve of Eratosthenes in SuperBASIC
110 DEFine PROCedure sieve(limit)
120 LOCal flags%(limit), i, j, count
130 FOR i = 2 TO limit
140 flags%(i) = 1
150 END FOR i
160 count = 0
170 FOR i = 2 TO limit
180 IF flags%(i) = 1 THEN
190 count = count + 1
200 PRINT i;" ";
210 j = i * i
220 REPeat mark_loop
230 IF j > limit THEN EXIT mark_loop
240 flags%(j) = 0
250 j = j + i
260 END REPeat mark_loop
270 END IF
280 END FOR i
290 PRINT
300 PRINT "Found "; count; " primes up to "; limit
310 END DEFine sieve
320 :
330 PRINT "Primes up to 100:"
340 sieve 100
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.)