Learn about tokenization, ASTs, tree-walk interpreters and more.
You're welcome to study the full challenge structure and stage instructions for free. A membership is needed for submitting code and viewing solutions.
Want to try a free challenge? Try Build your own Shell — it's free this month.
This challenge follows the book Crafting Interpreters by Robert Nystrom.
In this challenge you'll build an interpreter for Lox, a simple scripting language. Along the way, you'll learn about tokenization, ASTs, tree-walk interpreters and more.
Before starting this challenge, make sure you've read the "Welcome" part of the book that contains these chapters:
These chapters don't involve writing code, so they won't be covered in this challenge. This challenge will start from chapter 4, Scanning.
    
      
        Ananthalakshmi Sankar
      
      
        Automation Engineer at Apple
      
    
  
    
  
    
      
      
      
        “
      
      
      
    
    
      
        I think the instant feedback right there in the git push is really cool.
Didn't even know that was possible!
      
    
  
  
    
    
      
        Patrick Burris
      
      
        Senior Software Developer, CenturyLink