Learn how programming languages work, one tiny interpreter at a time.
Hi, I'm Dwayne, and this is where you'll find the interpreters behind Tiny Interpreters. Each one is a small, complete interpreter written in Elm that grows out of the one before it. If you read them in order you get to watch a language take shape one idea at a time.
The journey begins with CONST, an interpreter which takes a non-negative integer literal from source text to value. From there, each interpreter's description names the one it extends, so you can follow the language as it grows through the repositories.
Each interpreter comes with a blog post that walks through it in detail, and you'll find every post at blog.tinyinterpreters.dev.
Subscribe to hear about each new interpreter.