feat(tazjin/rlox): Parse if statements

Change-Id: I2352d75a3f02d65a5a2d04fb2cc4daa50f11ca1e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2321
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Vincent Ambo 2021-01-03 18:26:26 +03:00 committed by tazjin
parent 27a73171cf
commit a89777b34f
3 changed files with 45 additions and 1 deletions

View file

@ -127,6 +127,7 @@ impl Interpreter {
}
Statement::Var(var) => return self.interpret_var(var),
Statement::Block(block) => return self.interpret_block(block),
Statement::If(_) => unimplemented!(),
}
Ok(())