ComingUp ComingUp
Thoreau BASIC

Thoreau BASIC

Aug 25, 2026 Developer Tools
basic interpreter language programming retro

Gallery

Thoreau BASIC

About

I started writing Thoreau BASIC because I wanted a small, old-fashioned BASIC interpreter: line numbers, immediate mode, simple graphics, strings, arrays, the sort of environment where the computer starts with a "Ready" prompt and you can immediately make it do something.Then I wondered: why should it need an operating system?So I made it boot directly on x64 machines using UEFI.The UEFI version uses the Graphics Output Protocol for its framebuffer and gets its keyboard input directly from the firmware. There is no Windows or Linux underneath it. The machine boots into BASIC.It supports the usual BASIC machinery plus graphics primitives, 32-bit colour, floating point, file operations and other features I've been adding as I encounter programs that need them. There is now also a Windows version, which makes it considerably easier to try.One of my goals is compatibility with the style and behaviour of old Microsoft BASICs rather than creating a modern language that merely happens to use BASIC syntax.I'm currently porting my text adventure Pixel Prose to Thoreau BASIC. That's becoming a much better test suite than artificial tests because every missing feature or subtly wrong behaviour eventually gets exposed by an actual program.The project is deliberately small. The UEFI version greets you with:"I make myself rich by making my wants few." — Henry David Thoreaufollowed, somewhat ironically on a modern PC, by something like:27,340,685,312 bytes freeI'd be interested in hearing from people who wrote BASIC in the 80s/90s, interpreter/compiler people, and anyone sufficiently strange to still find a Ready prompt inviting.

Comments (3)

Katheryn Streich Katheryn Streich 2 weeks ago

couldn't even finish writing the description before shipping

Kianna Bartell Kianna Bartell 1 week ago

does this run standalone or need another runtime?

Maurine Schroeder Maurine Schroeder 1 week ago

market for this has to be like 12 people