Build your own Interpreter

Design a language and execute it with a tree-walk interpreter.

advanced
Lexer
Parser
AST
Scoping
Runtime

About this challenge

From tokens to execution, build a full interpreter while learning time-tested compiler concepts. This challenge builds strong fundamentals for language tooling.

What you will build

  • A small programming language with functions and scope
  • Interpreter with environment model and runtime errors

What you will learn

  • Language design trade-offs
  • Parsing strategies and AST design
  • Runtime architecture and error handling

Getting started

There is no backend work wired yet. When enabled, you will be able to enroll, track progress, and earn badges for completing stages.

For now, explore the curriculum and prepare your environment.

  • Skim all stages to understand the scope
  • Decide your implementation language
  • Set up a project with tests and formatter