[Rust Programming] Crafting Interpreters: Day 5

preview_player
Показать описание
In this video we continue to look at the Crafting Interpreters book, and learn how to port it to Rust. Since I'm a Rust beginner, the intent is that it will help me learn the language more in-depth than before.

Today we finished chapter 6, learning how to deal with syntax errors, and started chapter 7, the Interpreter!

#rust #rustlang #CraftingInterpreters
Рекомендации по теме
Комментарии
Автор

I love watching these! I have problems understanding the book at some times, and hearing you go through it and trying to understand the fundamental concepts is like a parent bird chewing food for their offspring (as weird as an analogy as that is).

fallow
Автор

I'm doing the same project right now and I messed up my parser big time. I flipped the order of let operator = self.previous() and let right = self.comparison(), self.term() etc, everytime to pass the borrow checker rules, didn't think that would screw up the whole parser (It's obvious for me now lol) Didn't think of making a duplicate function for the Token type. Looking through your videos and repo saved me a lot of time. Thank you. 🙏

Pjiwm