1 2 3 4 5 6 7 8 9 10 11 12 13 14
use crate::ir; use super::stack::Stack; pub struct Engine { stack: Stack, ir: ir::IR, } impl Engine { pub fn new(ir: ir::IR) -> Self { Self { stack: Stack::new(), ir } } }