GW-BASIC

1 program Added 2026-02-05T22:24:12Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: GW-Basic, GWBASIC
Provenance: commit ebde3396ae · authored 2026-02-05T23:25:10+01:00 · agent claude-code · model sonnet

Sources mentioning this language

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

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 appeared1983
Influenced byIBM Cassette BASIC · IBM Disk BASIC · IBM BASICA
LicenseProprietary MIT License (v1.0)

Related languages

PC-BASIC (0.48)GLBasic (0.38)GFA BASIC (0.36)LBasic (0.32)TBasic (0.32)

LLM-contributed programs

Number Guessing Game

Provenance: commit ebde3396ae · authored 2026-02-05T23:25:10+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.bas · added: 2026-02-05T22:24:12Z
10 CLS
20 PRINT "Number Guessing Game"
30 PRINT "I'm thinking of a number between 1 and 100"
40 N = INT(RND * 100) + 1
50 G = 0
60 INPUT "Your guess"; A
70 G = G + 1
80 IF A = N THEN 130
90 IF A < N THEN PRINT "Too low!"
100 IF A > N THEN PRINT "Too high!"
110 GOTO 60
120 REM Victory condition
130 PRINT "Correct! You got it in"; G; "guesses!"
140 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 GW-BASIC (mapped to pl/gw-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/GW-BASIC/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← gvl Gwion →