Setup
Concepts track — any compiler you already have works for the experiments. Godbolt (godbolt.org) shows compiler output for 40+ languages with zero install and is the single best companion to this track.
Lessons
1
The Compiler Pipeline
Every compiler — GCC, V8, rustc, even the TypeScript checker — is the same assem…
→
2
Lexing — Text to Tokens
The lexer reads raw characters and groups them into tokens: words, numbers, oper…
→
3
Parsing — Tokens to Trees
Flat token lists become a tree that captures structure: what belongs to what, wh…
→
4
Names, Scopes & Type Checking
The parser accepts 'undefined_thing + 3' happily — it's grammatically fine. Sema…
→
5
Optimization — Where the Magic Lives
Naively translated code is slow. Optimizers transform the program — hundreds of …
→
6
Code Generation, Linking & JITs
The last mile: optimized IR becomes real instructions with real registers, separ…
→
7
Compilers Cheatsheet
The pipeline, the vocabulary, and the experiments — one page.
→