Skip to content

Instantly share code, notes, and snippets.

@aarroyoc
Created August 27, 2014 10:43
Show Gist options
  • Save aarroyoc/8950ce212a2de2f397f9 to your computer and use it in GitHub Desktop.
Save aarroyoc/8950ce212a2de2f397f9 to your computer and use it in GitHub Desktop.
interpreter.rs
pub fn interpreter(&mut self,bytecode: &'static str) -> (){
for execbyte in bytecode.chars() {
self.execute(execbyte as u8);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment