Adventures in stacks and calculations! This script generates a stack onto which it pushes both numbers and operations. It evaluates itself with the evaluate method, and is able to take input from the console via its input method.
Adventures in stacks and calculations! This script generates a stack onto which it pushes both numbers and operations. It evaluates itself with the evaluate method, and is able to take input from the console via its input method.