PET BASIC
1 program
Added 2026-02-13T08:57:11Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Commodore BASIC 1.0, Commodore BASIC 2.0, Commodore BASIC 4.0
Provenance: commit f7a13ed948 · authored 2026-02-13T09:58:01+01:00 · agent claude-code · model sonnet
Sources mentioning this language
5 sources · pl_id:
pl/commodore-basicWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Designed by | Microsoft |
|---|---|
| First appeared | 1977 |
| Implemented in | Assembly (6502) |
Related languages
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.)
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. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Factorial Calculator
Provenance: commit f7a13ed948 · authored 2026-02-13T09:58:01+01:00 · agent claude-code · model sonnet · WebSearch disabled
10 PRINT "FACTORIAL CALCULATOR"
20 PRINT "ENTER A NUMBER (0-12):"
30 INPUT N
40 IF N<0 OR N>12 THEN GOTO 20
50 F=1
60 FOR I=1 TO N
70 F=F*I
80 NEXT I
90 PRINT N;"! =";F
100 END