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
LLM-contributed programs
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
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.)