Locomotive BASIC

1 program Added 2026-02-07T14:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Amstrad BASIC
Provenance: commit 5da315a4e9 · authored 2026-02-07T19:46:12+01:00 · agent claude-code · model sonnet

Sources mentioning this language

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

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.

First appeared1984
Influenced byMallard BASIC · BBC BASIC
LicenseProprietary

Related languages

ACE BASIC (0.25)Amiga BASIC (0.23)AmigaBasic (0.23)True BASIC (0.20)TrueBasic (0.20)

LLM-contributed programs

Graphics and Fibonacci Demo

Provenance: commit 5da315a4e9 · authored 2026-02-07T19:46:12+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.bas · added: 2026-02-07T14:30:00Z
10 MODE 1
20 INK 0,0: INK 1,26: BORDER 0
30 CLS
40 PRINT "Locomotive BASIC Demo"
50 PRINT
60 FOR I=1 TO 200 STEP 5
70 PLOT I,I,1
80 DRAW I+50,I
90 DRAW I+50,I+50
100 DRAW I,I+50
110 DRAW I,I
120 NEXT I
130 LOCATE 10,15
140 PRINT "Press any key"
150 CALL &BB18
160 CLS
170 PRINT "Fibonacci sequence:"
180 A=0: B=1
190 FOR I=1 TO 10
200 PRINT A;
210 C=A+B
220 A=B
230 B=C
240 NEXT I
250 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 Locomotive BASIC (mapped to pl/locomotive-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/Locomotive BASIC/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← LOCK locs →