Function execute_bytecode

Source
pub fn execute_bytecode(chunk: &Chunk) -> Result<(), String>
Expand description

Execute a bytecode chunk in the VM

§Arguments

  • chunk - The bytecode chunk to run

§Returns

Ok(()) if successful, or an error message