HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
skx
gobasic
Go2018–2026
skx / gobasic · Archived

gobasic

A BASIC interpreter written in golang.

2Distinct people
27Mentions
0Explicit recommenders
341GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A BASIC interpreter written in golang.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year27 dated mentions

Observed mentions: 2018-10-20 13:10:31 UTC to 2026-05-12 12:40:15 UTC.

024682018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 5 mentions; 3 submissions, 2 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 8 mentions; 0 submissions, 8 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC532
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC514
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC808
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC303
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC202
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

27 sources
At that kinda age I opened up google-docs, set the browser to full-screen, increased the font-size and let the child "type" He loved writing "adsdfdsfjkldf", and sometimes he'd painstakingly type his own name. Later I implemented the classic guessing-game "I'm thinking of a number", "that was too high", "that was too low", and we talked about choosing the number in the middle: https://github.com/skx/gobasic/blob/master/examples/55-game.... Later still things got more interesting when he could both type but also read, and I implemented a simple text-based adventure game for him to play with: https://github.com/skx/lighthouse-of-doom/ As for him using the computer? Nowdays he watches videos of minecraft stuff on youtube, but has zero interest in coding, experimenting, or learning how it works. That's fine, he's not me and he can have his o
Read the rest
wn interests. That's my takeaway from doing computer-stuff at a young age: Not all children care about computer-stuff.
In Ask HN: How have you shared computers with your young child (~3 to 5)
I wrote a simple BASIC interpreter based on happy memories of the speccy, but to be honest I have more fun these days writing toy projects in z80 assembly. I guess it's all about nostalgia either way though. The early experience in hacking games for infinite lives lead me to assembly, and z80 became x86. There was a lot in common removing anti-copying protection to getting infinite lives! Though modern games don't really appeal to me as much as Dizzy did, or the old-school fighting games. https://github.com/skx/gobasic https://github.com/skx/lighthouse-of-doom/
In Ascending Mount FujiNet
I wrote a BASIC interpreter in golang a few years back, and somehow the child really fell in love with the classic "guess the number" game: https://github.com/skx/gobasic/blob/master/examples/55-game.... I taught him how to divide the range in half to cut down on the number of guesses, and once he got the hang of that he was hooked. We played a couple of simple text-based games together after that, but most of the classics were too hard, too long, and required too much typing for him. So the game I made was deliberately simple. Even so the first time he played he had no idea that a rug could cover a trapdoor. That level of hiding things was too much for him to leap to himself, I had to direct him. These kinda shared activities don't replace his love of Minecraft, or Super Mario Bros (original NES version!), but I'm still glad we can do
Read the rest
them together.
In Show HN: A Golang CP/M emulator
Unusable might be a bit harsh, but I have to say that when I wrote my own BASIC interpreter last year I deliberately concentrated on the line-numbers and facilities of the ZX Spectrum I remembered: https://github.com/skx/gobasic Being standalone it doesn't have the graphic support or the interactivity, but it was still a fun project to work upon.
In EndBASIC
I had fun writing my own BASIC - less advanced, as I had no graphics, but also designed to be embedded in golang applications. I accept that 99% of the software I publish will have zero users, so even if it's no good for others it is still rewarding for its own sake. As for why? Nostalgia. The first computer I owned was a ZX Spectrum that booted to BASIC. I loved it. I still love writing in BASIC, and I still play spectrum games under emulation at least once every few months. My BASIC is like this one, fun to write, fun to tinker with, and at the end of the day it doesn't matter if others don't care/like it too https://github.com/skx/gobasic
In Show HN: PuffinBASIC – A cross-platform modern BASIC interpreter written in Java
I've been following a few different BASIC projects over the past few months, it seems that there is a sudden rise of them. Whether nostalgia, or just fun/learning/experimentation is to blame I can't say. My own BASIC is very simple, but easy to embed/extend: https://github.com/skx/gobasic I sometimes consider extending it with WHILE/WEND, named functions, and similar. But then I remember the constraints are part of what makes it interesting to me. I still remember the Christmas when I received 48k Spectrum, with my sisters. The tape-deck didn't work, so my sisters lost interest. I worked my way through the (spiral-bound orange) manual, typing BASIC and having a blast. Later we got a cassette recorder which worked, and I started playing games, and hacking them for infinite lives. I think my initial love/enthusiasm for typing in BASIC
Read the rest
programs directly lead to my career.
In QuickBasic64: Basic for the Modern Era
Looks good, you might compare to this implementation of Monkey with a bunch of extensions (such as "objects", regular expressions, and a standard-library written in the language itself): https://github.com/skx/monkey/ A similar idea allows embedded usage of a scripting language, as a filter: https://github.com/skx/evalfilter/ Of course it gets addictive writing little languages, so you'll probably want to have fun and try making more! I went with BASIC: https://github.com/skx/gobasic But then you start thinking about assembly language: https://github.com/skx/math-compiler
In Show HN: I wrote a VM and Compiler for a small language in Go

Showing the 15 most recent of 27 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.