Stacker is a command-line calculator that uses reverse Polish notation (RPN) for mathematical calculations and features an RPN-based scripting language. - remokasu/stacker
I’d say an important part of this calculator’s interaction model is doing something, getting a result, then doing something else to that result. That’s not too bad in the regular Python interpreter either.
For example, in Python:
>>> 55>>> 4 + _
9>>> 2 * _
18
In Stacker:
>>> 5
[5]
>>> 4 +
[9]
>>> 2 *
[18]
Does Hy have something like the Python interpreter’s _?
lisps are very repl-driven too
I’d say an important part of this calculator’s interaction model is doing something, getting a result, then doing something else to that result. That’s not too bad in the regular Python interpreter either.
For example, in Python:
>>> 5 5 >>> 4 + _ 9 >>> 2 * _ 18
In Stacker:
>>> 5 [5] >>> 4 + [9] >>> 2 * [18]
Does Hy have something like the Python interpreter’s
_
?