Created
August 19, 2014 11:38
-
-
Save aarroyoc/6401592b569b0a3b1334 to your computer and use it in GitHub Desktop.
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
#[deriving(FromPrimitive)] | |
enum Instruction { | |
INTEGER = 0x00, | |
STRING = 0x01, | |
ADD = 0x02, | |
SHOWINTEGER = 0x0A, | |
SHOWVERSION = 0x0E, | |
EXITVM = 0x0F | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment