3 ms·
Besides breakpoints, any ideas on inspecting the value of a variable in each step, figuring out what variables are in scope, for the case of an interpreter?
by a1o 3y ago
Besides breakpoints, any ideas on inspecting the value of a variable in each step, figuring out what variables are in scope, for the case of an interpreter?
- emmanueloga_ 3y agoI’m guessing you’ll have to work with the scopes in the resolver: https://github.com/munificent/craftinginterpreters/blob/master/java/com/craftinginterpreters/lox/Resolver.java#L12 https://github.com/munificent/craftinginterpreters/blob/mast...
- a1o 3y agoOoh, thanks for this! :)