refactor(tazjin/rlox): Move entrypoints into interpreters

Right now this introduces a simple mechanism to flip between the
interpreters.

Change-Id: I92ee920c53d76ab6b664ac671993a6d6426af61a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2412
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2021-01-17 20:31:03 +03:00 committed by tazjin
parent 861c0f0c79
commit 30a6fcccee
5 changed files with 69 additions and 48 deletions

View file

@ -0,0 +1,7 @@
//! Bytecode interpreter for Lox.
//!
//! https://craftinginterpreters.com/chunks-of-bytecode.html
pub fn main() {
unimplemented!()
}