Created
November 24, 2015 06:59
-
-
Save brennancheung/f9fc20fa62c766d50b0b to your computer and use it in GitHub Desktop.
simple-calc sample output
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
brennan@brennans-Mac-Pro ~/code/rpn * simple-calc $ cat testInput.txt | coffee rpn.coffee | |
> 5 | |
5 | |
> 8 | |
8 | |
> + | |
13 | |
> -3 | |
-3 | |
> -2 | |
-2 | |
> * | |
6 | |
> 5 | |
5 | |
> + | |
11 | |
> 2 | |
2 | |
> 9 | |
9 | |
> 3 | |
3 | |
> + | |
12 | |
> * | |
24 | |
> 20 | |
20 | |
> 13 | |
13 | |
> - | |
7 | |
> 7 | |
7 | |
> 2 | |
2 | |
> / | |
3.5 | |
> | |
exiting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment