Skip to main content
CF

Crusty Interpreter

33h 53m 10s
English
Paid
Updated September 2026

Crusty Interpreter is a 11-lesson 33 hours 53 minutes self-paced course by David Beazley. Building an interpreter for a language you don't know, in a language you've possibly never used, based on a book written in a third language — that's the premise here.

Course facts

Lessons
11
Duration
33 hours 53 minutes
Level
All levels
Language
English
Updated
2026-09-11
Instructor
David Beazley
Price
Premium

Building an interpreter for a language you don't know, in a language you've possibly never used, based on a book written in a third language — that's the premise here. You'll work through Robert Nystrom's Crafting Interpreters and implement its Lox language in Rust, translating the book's Java code as you go.

Who this is built for

  • Developers with some Rust experience who want a real, multi-part project beyond toy examples
  • Confident compiler or interpreter developers who are curious about Rust but haven't used it yet
  • Developers with neither Rust nor interpreter experience, but with an open stretch of time and an appetite for a demanding challenge

It plays out like a marathon — there's a good chance you'll question the decision partway through, and a good chance you'll be glad you finished.

What you'll build

Working through the first ten chapters of the book, you'll construct an AST-walking interpreter covering scanning and lexical analysis, recursive descent parsing, AST construction and execution, variables and scope, control flow, and functions with closures.

Rust concepts along the way

Expect to pick up module organization, string handling, Option/Result-based error handling, testing, algebraic data types, recursive structures, pattern matching, ownership and borrowing, and interior mutability — applied to something concrete rather than practiced as isolated exercises.

Format and prerequisites

This is a week-long, project-intensive format: each morning covers programming language design and Rust implementation, with most of the day set aside for independent coding. You should be comfortable with core programming concepts — expressions, operators, variables, control flow, functions, and classes. Prior interpreter experience helps but isn't required, and no Rust background is assumed, though expect a steep initial learning curve.

Who teaches Crusty Interpreter? David Beazley

David Beazley thumbnail

David Beazley is one of the most authoritative independent voices on the Python language, author of the Python Cookbook (O'Reilly), Python Distilled, and the long-running PyCon tutorial series that has shaped how serious Python engineers think about the language. He has been teaching Python continuously since the late 1990s.

His CourseFlix listing carries four David Beazley courses: Advanced Programming with Python, the Crusty Interpreter (a Rust implementation exercise), Write a Compiler, and the Rafting Trip retreat-style intensive. The teaching style is unusually rigorous about the language and the foundational CS topics underneath it — David's courses are taught at the level of someone who has implemented Python interpreters and language tooling for decades.

Material is paid and aimed at experienced Python developers ready to study the language at depth. For broader content, see CourseFlix's Python category page.

What lessons are included in Crusty Interpreter?

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 11 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: 001 Day 1 Morning
All Course Lessons (11)
#Lesson TitleDurationAccess
1
001 Day 1 Morning Demo
03:31:34
2
002 Day 1 Afternoon
03:23:52
3
003 Day 2 Morning
01:27:36
4
004 Day 2 Late-Morning
01:51:41
5
005 Day 2 Afternoon
03:21:43
6
006 Day 3 Morning
03:34:18
7
007 Day 3 Afternoon
03:25:26
8
008 Day 4 Morning
03:17:33
9
009 Day 4 Afternoon
03:34:20
10
010 Day 5 Morning
03:39:56
11
011 Day 5 Afternoon
02:45:11
Unlock unlimited learning

Get instant access to all 10 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

What courses are similar to Crusty Interpreter?

More courses by David Beazley

  • Ruckus thumbnailUpdated 2mo ago

    Ruckus

    An in-depth 4-day course on developing a programming language core in Rust. Practice with mutable data, higher-order functions, and memory management.
    27h 43m
  • Write a Compiler thumbnailUpdated 6mo ago

    Write a Compiler

    Unlock the Complexity of Software Development by Writing a Compiler . The course on compiler development is traditionally considered a capstone discipline.
    35h 41m
  • Rafting Trip thumbnailUpdated

    Rafting Trip

    A week-long project course walking through a from-scratch Raft consensus implementation, covering networking, threading, and system design.
    34h 26m
  • Advanced Programming with Python thumbnailUpdated

    Advanced Programming with Python

    Move past Python basics into composability, interfaces, and design: writing systems that stay maintainable as they grow.
    34h 56m5/5

Frequently asked questions

What prior knowledge is required before taking this course?
The course is designed for seasoned developers. You should have experience in programming and be comfortable with complex project work. Prior knowledge of Rust is not mandatory, but familiarity with compiler or interpreter concepts will be beneficial. The course is ideal for those ready to embrace a challenging, marathon-like project.
What kind of project will I build during the course?
Participants will implement an interpreter for the Lox programming language, leveraging Rust. You'll work on creating a lexer and a recursive descent parser, inspired by Robert Nystrom's 'Crafting Interpreters' book. This project is a multi-component endeavor, presenting a significant challenge especially if you are new to Rust.
Who is the target audience for this course?
This course is aimed at developers eager to advance their programming skills through intensive project work. It's suitable for those with some Rust experience seeking a complex project, or individuals new to Rust but familiar with compilers or interpreters, as well as those entirely new to both but ready for a challenging experience.
How does the depth of this course compare to others?
The course belongs to a challenging category, similar to university-level projects like designing a processor's instruction set or building a Unix shell. It offers a deep dive into implementing an interpreter with Rust, testing the limits of your problem-solving skills and technical knowledge.
What specific tools and platforms are involved in the course?
The course involves using Rust as the programming language to implement an interpreter for the Lox language. The project follows the approach outlined in Robert Nystrom's 'Crafting Interpreters' book, focusing on developing a lexer and recursive descent parser.
What topics or skills are not covered in this course?
While the course focuses on implementing an interpreter using Rust, it does not cover other aspects of interpreter or compiler design, such as optimization techniques or advanced parsing strategies beyond recursive descent. It also does not delve into Rust beyond what is necessary for the project.
How much time should I expect to commit to this course?
The course consists of 11 lessons, each representing a segment of time. Given the challenging nature of the project, it is expected to be time-intensive. It is recommended to allocate a significant portion of your week to fully engage with the material and complete the project.