I've reached the point where I constantly screw up with conventional calculators I'm so used to RPN.
post
replies:
My first professional job was writing FORTH for fruit machines. I'd played with it a bit before on the Jupiter Ace we had which sadly never really took off despite being more elegant than the ZX81.
They wasted ) to some shit. ( should have been push next word to X-stack and ) should have been pop and execute top of X-stack.
Then writing (+ m n) would be equal to m n + and (IF (< A B) (THEN C ELSE D))) would be identical to writing A B < IF C ELSE D THEN
But they also got rid of and avoiding CREATE’s extra writes.
RPN breaks my brain, I need to refresh myself.
replies:
permalink
fedilink
source
parent
hideshow 2 child comments
3
3 5
3 5 8
3 5 8 +
3 13
3 13 2
3 13 2 *
3 26
3 26 17
3 26 17 36
3 26 17 36 9
3 26 17 36 9 /
3 26 17 4
3 26 17 4 -
3 26 13
3 26 13 +
3 39
3 39 +
42
Or
3 + (((5 + 8) * 2) + (17 - (36 / 9)))
all 11 comments