Last active
January 9, 2018 11:37
-
-
Save willmurphyscode/545292f8bc194ef1c7d0183422c7c44a 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
pub enum Token { | |
LeftParen, | |
RightParen, | |
Operator(Opcode), | |
Operand(isize) | |
} | |
pub enum Opcode { | |
Add, Subtract, Multiply, Divide, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment