LunarBasic, a BASIC that compiles 2D games to native executables
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I built LunarBasic because I wanted a modern recreation of BlitzBasic from back in the day. I wanted it to have good step debugging features, and I wanted it to compile down to a native binary with no external dependencies. I do know there's an open source BlitzBasic out there but I wanted something simpler and more concise. It does have a "pro" feature set, but for the foreseeable future, anyone joining up will have the pro version in perpetuity (eg I'm not trying to sell anything here).It's early (v0.8.0). Would love feedback on the language design and compiler output, especially from anyone who's used QB64, Blitz, or FreeBASIC.Currently runs on x64/arm64 Windows, arm64 macOS, and arm64 Linux (x64 linux coming soon once I get the toolchain together).
HN · launched Aug 24, 2026 · 6 upvotes (top 69%) · 0 views
Niche: programming language compilers · 79 launches, 3 in the last 7 days · Explore this niche →
Category and tags
- Media & entertainment
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 79 launches in programming language compilers →
Could you build this?
No Building a custom compiler that parses a programming language and emits native machine code executables with interactive step debugging requires deep compiler engineering and low-level runtime expertise.
What it would actually take: A production version requires a lexer, parser, intermediate representation (IR), and code generator (likely targeting LLVM or custom machine code generation for x86/ARM), integrated with a debugger engine implementing DWARF or custom step-debugging protocols. It also requires bundled runtime libraries for 2D graphics, audio (e.g., SDL2/OpenGL), and OS system call abstractions with zero runtime dependencies. This necessitates deep systems programming expertise in C/C++ or Rust and compiler design.
Discussion
3 comments analyzed.
Competitors mentioned: MoonBasic
Concerns raised: Running compiled binary from unknown source, Windows installer not code-signed (raises antivirus warnings), Code signing certificates cost over $1000
Feature requests: Linux VM support
Competitors
Other products that read as similar to this one : 349 launches clear the similarity bar, closest 8 shown.
Attention rank: #248 of 350 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 292 days after the earliest competitor.
- Our space game has a built-in RISC-V emulator that runs Linux · hn · 2026-10-02 · 94 upvotes · similarity 0.46
- 2d platformer game built with Codex (zero code) · hn · 2026-02-16 · 10 upvotes · similarity 0.44
- Axiom · hn · 2026-02-18 · 20 upvotes · similarity 0.44
- CJIT, a single-binary C compiler that can self host · hn · 2026-04-13 · 7 upvotes · similarity 0.44
- lunar-for-roblox-decompiled · github · 2026-11-09 · 130 upvotes · similarity 0.43
- I made a 2D Lua game engine using Rust with code and asset live reload · hn · 2026-05-19 · 30 upvotes · similarity 0.42
- LyneCode Beats AntiGravity and Codex (and It's Open Source) · hn · 2025-12-16 · 7 upvotes · similarity 0.41
- Shoot-em-up Deck Building game · hn · 2026-01-06 · 5 upvotes · similarity 0.40
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.