← All courses

Crafting Interpreters (JavaScript)

Robert Nystrom's CC BY-NC-ND 4.0 book on building a programming language end to end — first half (tree-walking interpreter) ported from Java to JavaScript. Walks through scanning, parsing, AST visitors, evaluation, scoping, closures, classes, and inheritance. The bytecode-VM second half (ch14+) is in C and lives outside this pack.

  • JavaScript
  • 30 lessons
  • ~6 hours
  • Free
  • by Robert Nystrom

Learn JavaScript for free on Libre Academy with the Crafting Interpreters (JavaScript) course: 30 interactive lessons you complete by writing real code in a built-in editor, graded instantly by hidden tests. No paywall, no sign-up — it runs in your browser and the free desktop app.

What you get

  • Hands-on lessons with a real editor and instant, test-graded feedback.
  • Free and open source — no account required to start.
  • Runs in your browser, and offline in the free desktop app.
  • JavaScript runs in your browser.

What's inside

  • The Lox Language
  • Scanning
  • Representing Code
  • Parsing Expressions
  • Evaluating Expressions
  • Statements and State
  • Control Flow
  • Functions
  • Resolving and Binding
  • Classes and Inheritance

Start Crafting Interpreters (JavaScript) free →   More free JavaScript courses