snix/users/tazjin/rlox/src
Vincent Ambo 29335a8b63 feat(tazjin/rlox): Implement variable depth resolver
Implements the first part of the resolver from
https://craftinginterpreters.com/resolving-and-binding.html

This is wired up to the execution paths in main, but not yet in the
tests. The resolved depth is also not actually used for variable
lookups (yet).

Change-Id: I3a8615252b7b9b12d5a290c5ddf85988f61b9184
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2403
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
2021-01-16 13:46:31 +00:00
..
interpreter feat(tazjin/rlox): Implement support for closures 2021-01-14 20:26:37 +00:00
errors.rs feat(tazjin/rlox): Implement variable depth resolver 2021-01-16 13:46:31 +00:00
interpreter.rs feat(tazjin/rlox): Implement variable depth resolver 2021-01-16 13:46:31 +00:00
main.rs feat(tazjin/rlox): Implement variable depth resolver 2021-01-16 13:46:31 +00:00
parser.rs feat(tazjin/rlox): Implement variable depth resolver 2021-01-16 13:46:31 +00:00
resolver.rs feat(tazjin/rlox): Implement variable depth resolver 2021-01-16 13:46:31 +00:00
scanner.rs refactor(tazjin/rlox): Let scanner tokens own their lexeme 2021-01-14 16:53:02 +00:00