match book naming

main
Alpha Chen 2 years ago
parent ba17ce8ac2
commit d382c14214
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -25,7 +25,7 @@ impl VM {
} }
} }
pub fn interpret(&mut self) -> Result<()> { pub fn run(&mut self) -> Result<()> {
loop { loop {
debug!("{:?}", &self.stack[0..self.stack_top]); debug!("{:?}", &self.stack[0..self.stack_top]);
debug!("{}", DisassembledInstruction::new(self.ip, &self.chunk,)); debug!("{}", DisassembledInstruction::new(self.ip, &self.chunk,));

Loading…
Cancel
Save