Dartmouth BASIC

1 program Added 2026-02-08T21:33:42Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Dartmouth BASIC, Original BASIC
Provenance: commit 102245536f · authored 2026-02-08T22:34:34+01:00 · agent claude-code · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/dartmouth-basic-2
LLM (this repo) · 1WikipediaWikidata · Q2251017

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.

Paradigmsimperative · array
Designed byJohn G. Kemeny · Thomas E. Kurtz
First appeared1964
Influenced byFORTRAN · ALGOL

Related languages

Oric BASIC (0.24)DarkBASIC (0.22)Decimal BASIC (0.21)Small Basic (0.21)DARSIMCO (0.20)

LLM-contributed programs

Number Guessing Game

Provenance: commit 102245536f · authored 2026-02-08T22:34:34+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.bas · license: Public Domain · added: 2026-02-08T21:33:42Z
10 PRINT "GUESS THE NUMBER GAME"
20 PRINT "I'M THINKING OF A NUMBER FROM 1 TO 100"
30 LET N = INT(100 * RND(1)) + 1
40 LET G = 0
50 PRINT "ENTER YOUR GUESS";
60 INPUT A
70 LET G = G + 1
80 IF A = N THEN 130
90 IF A < N THEN 110
100 PRINT "TOO HIGH! TRY AGAIN"
110 IF A > N THEN GOTO 50
120 PRINT "TOO LOW! TRY AGAIN"
125 GOTO 50
130 PRINT "CORRECT! YOU GUESSED IT IN"; G; "TRIES"
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 Dartmouth BASIC (mapped to pl/dartmouth-basic-2). 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/Dartmouth BASIC/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Dartmouth ALGOL 30 dartmouth-basic →