warming up your workspace

Learn Python by Building a Compiler

Tokenize, parse, and evaluate: build a small language of your own. Built for language-curious developers and computer-science students. You write real Python, run it in the browser, and watch it pass. No installs, no toy apps, no lectures.

11 projects, 275 hands-on levels, first project free.

Problems you will solve

  • write a tokenizer
  • parse an expression grammar
  • evaluate an abstract syntax tree

By the end you can understand how programming languages work by building one.

What you will build

  • Foundations: code through compilers
  • Scanning
  • A Calculator
  • Parsing Expressions
  • Evaluating Expressions
  • Statements & State
  • Control Flow
  • Functions & Closures
  • Resolving, Scope & Errors
  • A Bytecode VM
  • Capstone: A Complete Mini-Language

Start the Compilers and Interpreters track free.

Frequently asked questions

Do I need to know how to code to start Compilers and Interpreters?

No. The Compilers & Interpreters track starts from the fundamentals and builds up, and the first project is free.

Do I need to install anything?

No. Every level runs in your browser and is graded the moment your code works. No Python install, no setup.

What language will I write?

Python. You write real Python, run it, and get instant feedback across 275 hands-on levels.

Is it free to start?

Yes. The first project is free with no card. Unlimited access to all 33 tracks is $12 a month or $100 a year.