diff options
author | Vincent Ambo <mail@tazj.in> | 2021-01-17T20·03+0300 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-01-17T21·17+0000 |
commit | 7fb93fb49008491184a7d55ccd43db846452dce0 (patch) | |
tree | e07383f72d95ee2cfc150811a99af7caef87bb55 /users/tazjin/rlox/src/treewalk/interpreter | |
parent | b1d0e22b1f5fe907ba3d48931e5a38b9a75b0dcf (diff) |
feat(tazjin/rlox): Bootstrap VM for Lox bytecode r/2127
Change-Id: I479e20bf2087e5c4aa20e31b364c57ed0d961bcf Reviewed-on: https://cl.tvl.fyi/c/depot/+/2416 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'users/tazjin/rlox/src/treewalk/interpreter')
-rw-r--r-- | users/tazjin/rlox/src/treewalk/interpreter/builtins.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/tazjin/rlox/src/treewalk/interpreter/builtins.rs b/users/tazjin/rlox/src/treewalk/interpreter/builtins.rs index 709e53c7c0eb..c502d2a1718a 100644 --- a/users/tazjin/rlox/src/treewalk/interpreter/builtins.rs +++ b/users/tazjin/rlox/src/treewalk/interpreter/builtins.rs @@ -2,8 +2,8 @@ use std::fmt; use std::time::{SystemTime, UNIX_EPOCH}; use crate::treewalk::errors::Error; -use crate::treewalk::parser::Literal; use crate::treewalk::interpreter::Value; +use crate::treewalk::parser::Literal; pub trait Builtin: fmt::Debug { fn arity(&self) -> usize; |