snix/users/tazjin/rlox/src/bytecode
Vincent Ambo 6f600c8300 feat(tazjin/rlox): Add initial support for strings
... including concatenation.

This diverges significantly from the book, as I'm using std::String
instead of implementing the book's whole heap object management
system.

It's possible that Lox in Rust actually doesn't need a GC and the
ownership model works just fine.

Change-Id: I374a0461d627cfafc26b2b54bfefac8b7c574d00
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2577
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
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 feat(tazjin/rlox): Add initial support for strings 2021-03-01 21:09:37 +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): Support trivial literals in bytecode compiler 2021-02-28 14:36:40 +00:00
opcode.rs feat(tazjin/rlox): Implement comparison operators 2021-02-28 14:36:40 +00:00
tests.rs feat(tazjin/rlox): Implement comparison operators 2021-02-28 14:36:40 +00:00
value.rs feat(tazjin/rlox): Add initial support for strings 2021-03-01 21:09:37 +00:00
vm.rs feat(tazjin/rlox): Add initial support for strings 2021-03-01 21:09:37 +00:00