pub fn compile(&mut self) -> Vec<u8> {
        let program = self.assembly.join("\n");
        let bytecode = self.assembler.assemble(&program);
        match bytecode {
            Ok(b) => { b },
            Err(_e) => { vec![] }
        }
    }
/// Takes a Vector of Strings that represent the text of a program and compiles
/// it into bytecode
Takes a Vector of Strings that represent the text of a program and compiles
it into bytecode
Takes a Vector of Strings that represent the text of a program and compiles it into bytecode
pub fn compile(&mut self) -> Vec<u8> {
        let program = self.assembly.join("\n");
        let bytecode = self.assembler.assemble(&program);
        match bytecode {
            Ok(b) => { b },
            Err(_e) => { vec![] }
        }
    }
pub fn compile ( & mut self ) -> Vec < u8 > { let program = self . assembly . join ( " \n " ) ; let bytecode = self . assembler . assemble ( & program ) ; match bytecode { Ok ( b ) => { b } , Err ( _e ) => { vec ! [ ] } } }
Takes a Vector of Strings that represent the text of a program and compiles
it into bytecode
Takes a Vector of Strings that represent the text of a program and compiles it into bytecode
&mut self
&mut self