TRS-80 BASIC

1 program Added 2026-02-08T16:06:59Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Level I BASIC, Level II BASIC, Model III BASIC
Provenance: commit a9aa1887a8 · authored 2026-02-08T17:07:44+01:00 · agent claude-code · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/level-i-basic
LLM (this repo) · 1WikipediaWikidata · Q39059565

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 bySteve Leininger
First appeared1977
Influenced byTiny BASIC · Palo Alto Tiny BASIC

Related languages

Color BASIC (0.23)TI-BASIC (0.22)True BASIC (0.21)TrueBasic (0.21)TreeBASIC (0.20)

LLM-contributed programs

Number Guessing Game

Provenance: commit a9aa1887a8 · authored 2026-02-08T17:07:44+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.bas · added: 2026-02-08T16:06:59Z
10 CLS
20 PRINT "GUESS THE NUMBER GAME"
30 PRINT "I'M THINKING OF A NUMBER FROM 1 TO 100"
40 PRINT
50 LET N = INT(RND(100)) + 1
60 LET G = 0
70 PRINT "ENTER YOUR GUESS";
80 INPUT A
90 LET G = G + 1
100 IF A = N THEN GOTO 150
110 IF A < N THEN PRINT "TOO LOW! TRY AGAIN"
120 IF A > N THEN PRINT "TOO HIGH! TRY AGAIN"
130 PRINT
140 GOTO 70
150 PRINT
160 PRINT "CORRECT! YOU GOT IT IN"; G; "GUESSES!"
170 PRINT "THE NUMBER WAS"; N
180 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.)

Contribute — propose a file extension

Tell us where to find evidence about TRS-80 BASIC (mapped to pl/level-i-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/TRS-80 BASIC/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Trow trs-80-color-computer →