“Crafting Interpreters” chapter, control flow and Turing-completeness
“Crafting Interpreters” chapter, control flow and Turing-completeness launched on June 26, 2017 with 116 votes, #359 of 3,107 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 9 years on.
In plain words
Crafting Interpreters" is a chapter-based guide on control flow in programming language design. It explains how adding control flow structures enables an interpreter to become Turing-complete, allowing programs to perform varying amounts of work without requiring proportionally longer source code. The chapter teaches readers how to move their interpreter from a simple calculator to a functional programming language capable of loops and conditionals.
written from the facts on this page · September 2026
From the sources
Logic, like whiskey, loses its beneficial effect when taken in too large quantities. Compared to last chapter’s grueling marathon, today is a lighthearted frolic through a daisy meadow. But while the work is easy, the reward is surprisingly large. Right now, our interpreter is little more than a calculator. A Lox program can only do a fixed amount of work before completing. To make it run twice as long you have to make the source code twice as lengthy. We’re about to fix that. In this chapter, our interpreter takes a big step towards the programming language major leagues: Turing-completeness . In the early part of last century, mathematicians stumbled into a series of confusing…from craftinginterpreters.com
Does a similar job
all alternatives →
Crafting Interpreters – A handbook for making programming languages2017 · craftinginterpreters.com · ▲423
“Statements and State”, the next chapter of my book on interpreters2017 · craftinginterpreters.com · ▲141
- IWI wrote a technical history book on LispFeb 2026 · berksoft.ca · ▲252
The book page links to a blog post that explains how I got about it (and has a link to sample content), but the TL&DR is that I could not find a lot of books that were on "our" history _and_ were larded with technical details. So I set about writing one, and some five years later I'm happy to share the result. I think it's one of the few "computer history" books that has tons of code, but correct me if I'm wrong (I wrote this both to tell a story and to learn :-)). My favorite languages are Smalltalk and Lisp, but as an Emacs user, I've been using the latter for much longer and for my…
A small programming language where everything is pass-by-valueJan 2026 · github.com · ▲91This is a hobby project of mine that I started a few years ago to learn about programming language implementation. It was created 95% without AI, although a few recent commits include code from Gemini CLI. I started out following Crafting Interpreters, but gradually branched off that until I had almost nothing left in common. Tech stack: Rust, Cranelift (JIT compilation), LALRPOP (parser). Original title: "A small programming language where everything is a value" (edited based on comments)
Maybe Haskell2015 · books.thoughtbot.com · ▲60See what it’s like to program in a language without null.
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 14d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 15d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, June 2017
the whole month →- GP
Work · 2017 · demandrush.com

Monica helps you remember the people you care about: what is happening in their life, important dates, previous conversations, and when to get back in touch. Private, open source, self-hostable.
Dev tools · 2017 · monicahq.com




The growth guide by DemandCurve.com and Julian Shapiro
Growth · 2017 · julian.com