tvl-depot/users/tazjin/rlox/src/bytecode
Vincent Ambo 47c1a9a280 fix(tazjin/rlox): Fix selection of next parser precedence rule
Without this fix we would keep parsing in the same precedence level
and get weird things like:

    10 - -10 + 10
    => 10

Change-Id: If2bed4569fbf566027011037165a9b3c09b7427c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2567
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
2021-02-28 11:14:03 +00:00
..
chunk.rs feat(tazjin/rlox): Print compiled bytecode with disassemble feature 2021-02-27 20:19:14 +00:00
compiler.rs fix(tazjin/rlox): Fix selection of next parser precedence rule 2021-02-28 11:14:03 +00:00
errors.rs feat(tazjin/rlox): Bootstrap rough shape of bytecode compiler 2021-02-27 13:05:18 +00:00
mod.rs feat(tazjin/rlox): Wire up bytecode interpreter & print results 2021-02-28 11:14:03 +00:00
opcode.rs feat(tazjin/rlox): Implement simple arithmetic operators 2021-01-17 21:17:54 +00:00
value.rs feat(tazjin/rlox): Initial bytecode representation 2021-01-17 21:17:54 +00:00
vm.rs fix(tazjin/rlox): Fix identifier order in binary_op macro 2021-02-28 11:14:03 +00:00