Episode 1: A basic expression evaluator
Channel:Immo Landwerth (terrajobst) · Length:1:38:35 · Published:2018-10-03 · Views:284419
Summary
The first episode of a long live-coding series in which Immo Landwerth builds the Minsk compiler for a small language in C#. It starts with a basic expression evaluator and builds toward a full language.
Why HN recommends it
Recommended as a practical, approachable build-it-step-by-step introduction to writing compilers, light on theory.
Not too much theory but from a nuts and bolts perspective I found it extremely approachable. — HN, 2020
Python, Ruby & scripting languages · Compilers, interpreters & program analysis · Software practice, open source & careers
Subtitles (excerpt)
[Music] Hello friends of net. I'm Lenworth and you can find me on Twitter at terror jobs. I'm super excited about this event. Um I've rambled about this uh on Twitter. I think almost a year ago when I said how about I do a video series on how to build a compiler from scratch and then I never did anything with that because as it turns out I was super busy doing other stuff. But thankfully you guys have all pinged me on regular basis on Twitter and asked what's going on there. I want to see this uh amazing talk of yours. So I finally had the time to put something together and today is the first episode where we will start writing the compiler. Um, some of you have asked how long will it take to write the compiler. That's a good question. I don't quite know because my goal is to write this live, right? So, the today's episode will be 60 to 90 minutes. Um, I would do a demo. So, I should say I already have written the compiler. So, one of the things I would do today is demo what the end result would look like. So, you get an idea whether it's worth, you know, keeping keeping up with it or whether you want to do something else with your time. Um yeah, before we go into the details, I have a few notes I want to go through to
On Hacker News
I don't have something that could be of Crafting Interpreters level on hand, but the general suggestion given to this question on DotNetEvolution discord by Roslyn team members was to start with the spec itself: [LINK] This might be a bit of a learning curve if you don't have experience with writing compilers like that though. There are other materials that might prove useful should you go down t… — neonsunset, 2024-05
Here's a great YouTube series where a developer codes, step-by-step, a pretty fully-fledged programming language: [VIDEO] Not too much theory but from a nuts and bolts perspective I found it extremely approachable. — Nelkins, 2020-05
I've been working full time for like 3 yrs as C# dev + doing higher edu at weekends at the same time and I was about to decide thesis topic. I've been searching for something challenging and found some very random post on programming forums about how compilers are hard etc and decided to give it a try. I had kind of advantage that I accidentally had some significant amount of experience with hand… — tester756, 2026-07
Related videos
- EC's Big Announcement · Essential Craftsman · 5:21
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The spelled-out intro to neural networks and backpropagation: building micrograd · Andrej Karpathy · 2:25:52
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45
- Lexical Scanning in Go - Rob Pike · GoogleFOSSSydney · 51:17
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- 🚀 TDD, Where Did It All Go Wrong (Ian Cooper) · DevTernity Conference · 1:03:55
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Problem with Time & Timezones - Computerphile · Computerphile · 10:12
- Bret Victor The Future of Programming · Joey Reid · 32:55
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- "Uncle" Bob Martin - "The Future of Programming" · Paul Stringer's Mobile Tech · 1:18:21
- Brian Goetz - Stewardship: the Sobering Parts · ClojureTV · 1:03:30