2 ms·
They're pretty loosely-coupled. The bytecode VM part assumes you are familiar with the language itself, which is described in an introductory chapter [1]. It al
by munificent 8y ago
They're pretty loosely-coupled. The bytecode VM part assumes you are familiar with the language itself, which is described in an introductory chapter [1]. It also assumes you're familiar with most of the basic structure of an interpreter and the concepts around parsing and stuff, since those are introduced when we do the tree-walk interpreter. If you know those already, you can probably skip straight to the bytecode VM. You can always consult earlier chapters if you get stuck.
[1]: http://www.craftinginterpreters.com/the-lox-language.html http://www.craftinginterpreters.com/the-lox-language.html
- z3phyr 8y agoThank you very much! This is what I will do!