Skip to content
StackDecode
All roadmaps
CS core

Compiler Design roadmap

Lexing, parsing, analysis and code generation: turning code into programs.

Before you start
Data structures, recursion and one language.
After six months you can
build a compiler for a small language that produces runnable code.
0%

0 of 24 weeks done · 0 of 6 months complete

Tick each week as you finish it. Progress is saved only in this browser.

Month 1Month 6

Month 1

Foundations and lexing

0/4

Build: A lexer for a toy language

Month 2

Parsing

0/4

Build: A parser that builds an AST for expressions and statements

Month 3

Semantic analysis

0/4

Build: A type checker for your language

Month 4

Code generation

0/4

Build: Compile to bytecode and run it on a VM

Month 5

Optimisation

0/4

Build: Add three optimisations and measure the gain

Month 6

Runtime and capstone

0/4

Build: A complete compiler with tests and documentation