Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: RPN mode for zcalc



On Thu, 16 Jun 2016 17:40:48 +0200
Christian Neukirchen <chneukirchen@xxxxxxxxx> wrote:
> Peter Stephenson <p.stephenson@xxxxxxxxxxx> writes:
> 
> > This adds an RPN mode for zcalc.  (Because it does, that's why.)  See
> > the documentation.
> 
> It's a nice idea, but it would be even better if space worked as ENTER too,
> so "5 4 +" returns 9.

That's another function entirely, based on keystrokes rather than lines
containing expressions; it doesn't fit into zcalc.

Of course, if you want to write one, feel free.

> And perhaps an operation to exchange the top two elements.

I'll probably add some things of this sort.

pws



Messages sorted by: Reverse Date, Date, Thread, Author