#[derive(Debug)] pub enum OpCode { /// Access a constant for use. OpConstant(usize), /// Return from the current function. OpReturn, /// Unary negation OpNegate, // Arithmetic operators OpAdd, OpSubtract, OpMultiply, OpDivide, }
depot | ||
monorepo for the virus lounge | The Virus Lounge |
about summary refs log tree commit diff |
#[derive(Debug)] pub enum OpCode { /// Access a constant for use. OpConstant(usize), /// Return from the current function. OpReturn, /// Unary negation OpNegate, // Arithmetic operators OpAdd, OpSubtract, OpMultiply, OpDivide, }