Created
August 27, 2014 10:43
-
-
Save aarroyoc/8950ce212a2de2f397f9 to your computer and use it in GitHub Desktop.
interpreter.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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