Commodore BASIC

1 program Added 2026-02-08T12:00:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: CBM BASIC, PET BASIC, VIC BASIC, C64 BASIC
Provenance: commit 597280aca5 · authored 2026-02-08T16:45:51+01:00 · agent claude-code · model sonnet

Sources mentioning this language

5 sources · pl_id: pl/commodore-basic
LLM (this repo) · 1PldbWikipediaRosettacodeWikidata · Q337272

Wikipedia 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 byMicrosoft
First appeared1977
Implemented inAssembly (6502)

Related languages

VIC-20 BASIC (0.48)PET BASIC (0.42)BASIC-E (0.34)BASIC-128 (0.31)CBASIC (0.26)

LLM-contributed programs

Number Guessing Game

Provenance: commit 597280aca5 · authored 2026-02-08T16:45:51+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.bas · added: 2026-02-08T12:00:00Z
10 PRINT CHR$(147)
20 PRINT "GUESS THE NUMBER GAME"
30 PRINT "===================="
40 PRINT
50 N=INT(RND(1)*100)+1
60 T=0
70 PRINT "I'M THINKING OF A NUMBER"
80 PRINT "BETWEEN 1 AND 100."
90 PRINT
100 INPUT "YOUR GUESS";G
110 T=T+1
120 IF G=N THEN 200
130 IF G<N THEN PRINT "TOO LOW! TRY AGAIN.":GOTO 90
140 IF G>N THEN PRINT "TOO HIGH! TRY AGAIN.":GOTO 90
200 PRINT
210 PRINT "CORRECT! YOU GOT IT IN";T;"TRIES!"
220 PRINT
230 INPUT "PLAY AGAIN (Y/N)";A$
240 IF A$="Y" THEN 10
250 PRINT "THANKS FOR PLAYING!"

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.)

Contribute — propose a file extension

Tell us where to find evidence about Commodore BASIC (mapped to pl/commodore-basic). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Commodore BASIC/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Commlang Common Alerting Protocol →