I wrote a BASIC interpreter that boots on UEFI machines
Details
- External ID
- 49410814
- Source
- HN
- Company
- —
- Product
- I wrote a BASIC interpreter that boots on UEFI machines
- Website domain
- itch.io
- Launched
- Aug. 23, 2026
- Cohort
- —
- Upvotes
- 156
- Upvotes percentile
- 0.9556451612903226
- Tags
- —
- Fetched at
- Sept. 10, 2026, 5:32 a.m.
- Updated at
- Sept. 10, 2026, 5:32 a.m.
Description
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.
Enrichment
- Theme
- systems tools and desktop utilities
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- basic interpreter for uefi
- Manually corrected
- False
Could you build this?
No Writing software that executes in the bare-metal UEFI environment requires low-level firmware programming, knowledge of UEFI specification protocols, and custom memory and hardware control without an underlying OS.
What it would actually take: The project requires writing bare-metal C or Rust targeting the UEFI specification (using EDK2 or gnu-efi), handling UEFI GOP (Graphics Output Protocol) for rendering, and writing custom keyboard input drivers using EFI Simple Text Input protocols. The core interpreter must run completely standalone with a custom memory allocator, without access to standard libc, POSIX APIs, or an OS runtime. This demands firmware and embedded systems engineering expertise.
Discussion
20 comments analyzed.
Competitors mentioned: Scratch (visual programming for learning), Lego NXT (visual programming environment), Hypercard (beginner-friendly language model), UEFIPascalOS (similar UEFI Pascal project)
Concerns raised: Not open source/FOSS, UEFI hardware compatibility varies across computers, UEFI implementation details are mysterious and poorly documented, Windows executable bloat due to linker bug, High barrier to entry for modern computing
Feature requests: SDL backend support for cross-platform compilation, Linux and WebAssembly compilation targets, Bootable USB stick support, Open source release/FOSS version, UEFI shell accessibility and investigation tools
Competitors
Other products that read as similar to this one — 35 launches clear the similarity bar, closest 8 shown.
Attention rank: #2 of 36 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 284 days after the earliest competitor.
- Built a tiny interpreter from scratch in C to understand how they work · hn · 2025-11-12 · 5 upvotes · similarity 0.38
- Linux installer .exe without pendrives (secure-boot compatible) · hn · 2026-04-21 · 5 upvotes · similarity 0.37
- Aurion OS · hn · 2026-03-12 · 35 upvotes · similarity 0.37
- os2host32 · github · 2026-09-22 · 9 upvotes · similarity 0.36
- Anos · hn · 2026-04-04 · 115 upvotes · similarity 0.35
- Deckard, Claude-first terminal manager · hn · 2026-04-02 · 7 upvotes · similarity 0.35
- Nori CLI, a better interface for Claude Code (no flicker) · hn · 2026-01-14 · 37 upvotes · similarity 0.35
- I made a browser TUI with its own layout engine · hn · 2026-07-07 · 6 upvotes · similarity 0.35
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.