tvl-depot/users/tazjin/rlox/src/bytecode
Vincent Ambo b7b94335cc refactor(tazjin/rlox): Refactor Compiler::consume into a macro
Making this function a macro instead makes it possible to match
arbitrary token kinds, even the ones that carry data, without changing
the syntax too much.

Change-Id: I5cda9e36d6833bd9c259f7d4d8340db6e783b4e8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2593
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
2021-03-06 11:52:00 +00:00
..
interner feat(tazjin/rlox): Add a simple string interner 2021-03-01 21:09:37 +00:00
chunk.rs refactor(tazjin/rlox): Represent VM values as enums 2021-02-28 12:54:29 +00:00
compiler.rs refactor(tazjin/rlox): Refactor Compiler::consume into a macro 2021-03-06 11:52:00 +00:00
errors.rs refactor(tazjin/rlox): Represent VM values as enums 2021-02-28 12:54:29 +00:00
mod.rs feat(tazjin/rlox): Intern all string constants 2021-03-02 19:48:46 +00:00
opcode.rs feat(tazjin/rlox): Implement expression statements 2021-03-03 10:51:05 +00:00
tests.rs feat(tazjin/rlox): Implement expression statements 2021-03-03 10:51:05 +00:00
value.rs feat(tazjin/rlox): Intern all string constants 2021-03-02 19:48:46 +00:00
vm.rs feat(tazjin/rlox): Implement expression statements 2021-03-03 10:51:05 +00:00