use std::collections::HashMap; #[derive(Debug)] pub struct Context { ptr: isize, stack: Vec, label_map: HashMap, mem_map: HashMap, } impl Context { pub fn new() -> Self { Self { ptr: 0, stack: vec![], label_map: HashMap::new(), mem_map: HashMap::new(), } } }