4 ms·
Are the 1st and 2nd parts mutually related? Is it ok if I start reading from the Bytecode VM part? PS: I am enjoying the design and writing. Kudos sir!
by z3phyr 8y ago
Are the 1st and 2nd parts mutually related? Is it ok if I start reading from the Bytecode VM part?
PS: I am enjoying the design and writing. Kudos sir!
- munificent 8y agoThey'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!