March 15, 2026
Tiny compiler, giant comment war
Show HN: GDSL – 800 line kernel: Lisp subset in 500, C subset in 1300
Tiny DIY languages wow, then skeptics ask: Where’s the output and can it build itself
TLDR: A developer claims small, fast compilers for C and Lisp in just a few thousand lines. Commenters applaud the ambition but press hard on proof: self-hosting, real outputs, and what “kernel” means—kicking off a bigger debate about minimalism vs. marketing in programming tools.
A lone coder dropped GDSL, a poetic “planting seeds” post claiming tiny, fast compilers for two languages—C and Lisp—in roughly a few thousand lines. The crowd went wild… then immediately split into camps. The cheer squad said it’s bold and inspiring. The skeptics? They brought receipts. One commenter flagged that it’s actually ~2,600 lines of modern C++ and not a full system “kernel,” plus no self-hosting (it can’t compile itself). Another asked the simple question everyone wanted answered: where does it actually spit out code—assembly, a toolchain, anything? Meanwhile, a pragmatist begged for “fun examples,” because demos talk and manifestos walk.
The biggest eyebrow-raise came from a link to Anthropic’s piece on building a C compiler in ~100k lines, setting off a debate: is GDSL a charming minimalist proof-of-concept or just clever framing? One veteran dropped a flex with a 700-line, self-hosting C subset as a “call me when” bar. The vibe swung between “this is art” and “this is marketing.” Jokes flew about the word “kernel” (“OS or breakfast cereal?”) and the classic meme, “cool story, now compile yourself.” A helpful soul shared the GitHub repo, an old-schooler shared their own project mu, and the thread settled into the quintessential dev drama: big dreams vs. exact specs, inspiration vs. implementation.
Key Points
- •GDSL is introduced as a minimal compiler kernel enabling multiple languages.
- •A subset of C was implemented in about 1,500 lines using GDSL.
- •A Lisp compiler was implemented in about 500 lines on the same unmodified kernel.
- •The author claims both compilers are fast enough to be useful and not fragile.
- •The work reportedly involved 16 months of groundwork followed by three weeks to implement language subsets.