Re: An RPN Calculator For Leo

2023-05-14 Thread Thomas Passin
Cool! Though I'm glad I don't have to debug any of those expressions. On Sunday, May 14, 2023 at 10:52:45 AM UTC-4 jkn wrote: > As a slight aside: I knew about the 'bc' (bench calculator) program in > Linux/Unix, and I also knew there was a 'dc' (desk calculator) in Linux/Unix > > What I didn't

Re: An RPN Calculator For Leo

2023-05-14 Thread jkn
As a slight aside: I knew about the 'bc' (bench calculator) program in Linux/Unix, and I also knew there was a 'dc' (desk calculator) in Linux/Unix What I didn't realise, and have only just learned, is: * dc is the original and runs RPN * dc predates the C programming language; it is the oldest

Re: An RPN Calculator For Leo

2023-05-02 Thread Edward K. Ream
On Tue, May 2, 2023 at 4:35 AM jkn wrote: > s/write/right/, of course ;-o > Hehe. I remember *screaming* in frustration while using some nerdy sed-like text editor while working at IBM 50+ years ago. My work on editors began with those screams. Edward -- You received this message because

Re: An RPN Calculator For Leo

2023-05-02 Thread jkn
s/write/right/, of course ;-o On Tuesday, May 2, 2023 at 9:50:53 AM UTC+1 jkn wrote: > FWIW I sometime use the underscore character in a 'down' sense. So R_ , > perhaps. > > I used to write a fair bit in (La)TeX, and that uses caret ^ for > superscript, and underscore _ for subscript, so it

Re: An RPN Calculator For Leo

2023-05-02 Thread jkn
FWIW I sometime use the underscore character in a 'down' sense. So R_ , perhaps. I used to write a fair bit in (La)TeX, and that uses caret ^ for superscript, and underscore _ for subscript, so it 'feels' write to me... J^n On Monday, May 1, 2023 at 8:18:33 PM UTC+1 tbp1...@gmail.com wrote:

Re: An RPN Calculator For Leo

2023-05-01 Thread Thomas Passin
I forgot to add to the Help file that there is also a minibuffer command to toggle it - *rpcalc-toggle.* On Monday, May 1, 2023 at 8:31:31 PM UTC-4 Rob wrote: > For those new to trying out the plugin, I discovered that it didn't appear > to load despite adding it to my enabled plugins. What I

Re: An RPN Calculator For Leo

2023-05-01 Thread Rob
For those new to trying out the plugin, I discovered that it didn't appear to load despite adding it to my enabled plugins. What I learned is: 1. It's in the plugin list and I needed to select the rpcalc-toggle option under the plugins menu or... 2. I see now there's an rpcalc button I

Re: An RPN Calculator For Leo

2023-05-01 Thread Thomas Passin
Much better! I'll change it soon. BTW, I'm sorry about *R>* for "Roll Down". The original code used *R<* and *R>*, apparently because we don't have up and down arrows on a normal keyboard (well, speaking for US English keyboards, anyway). I changed the one to a caret (*R^*) but there's no

Re: An RPN Calculator For Leo

2023-05-01 Thread jkn
Shurely that should be called >CLIP ? ;-) On Monday, May 1, 2023 at 5:46:45 PM UTC+1 tbp1...@gmail.com wrote: > Devel now contains one more change. I've changed the *EXIT* key (which > isn't needed in the Leo tab version of the calculator) to *TOCLIP*. It > copies the "X" register - the

Re: An RPN Calculator For Leo

2023-05-01 Thread Thomas Passin
Devel now contains one more change. I've changed the *EXIT* key (which isn't needed in the Leo tab version of the calculator) to *TOCLIP*. It copies the "X" register - the calculation result - to the system clipboard. On Monday, May 1, 2023 at 9:31:00 AM UTC-4 Thomas Passin wrote: > When I

Re: An RPN Calculator For Leo

2023-05-01 Thread Thomas Passin
When I was using TurboPascal and doing a lot of numerical 2-D integrations with complex numbers, I actually wrote a little library module to calculate with complex numbers as if I was using an RPN calculator. So you could push a complex number on the stack, pop it off, multiply or add the two

Re: An RPN Calculator For Leo

2023-05-01 Thread jkn
I got to play with a then- just out Hewlett Packard HP-67 RPN calculator at the age of around 14. It blew my mind ... and may well have directly led to me doing what I do to this day. J^n On Sunday, April 30, 2023 at 5:59:34 PM UTC+1 tbp1...@gmail.com wrote: > RPCalc is a recent discovery

Re: An RPN Calculator For Leo

2023-05-01 Thread Thomas Passin
I'm happy to say that the RPCalc plugin is now merged into the devel branch. Enable it in your @enabled-plugins settings node by adding a line reading *rpcalc.py*. On Sunday, April 30, 2023 at 12:59:34 PM UTC-4 Thomas Passin wrote: > RPCalc is a recent discovery for me. As originally written,

Re: An RPN Calculator For Leo

2023-04-30 Thread Thomas Passin
RPCalc is a recent discovery for me. As originally written, it runs as a standalone program, and requires Qt5. You don't need to use the installer package for Windows. Just download the Linux tarball, decompress it, and navigate to the "source" directory. The file to run is - surprise! -

Re: An RPN Calculator For Leo

2023-04-30 Thread jkn
I have wondered about suggesting something like this for a while, so thank you Thomas. My 'main' editor has a simple HP calculator built into it and it was an easy step to consider one for Leo. I didn't know about RPNCalc (I have some Android RPN apps on my phone, as well as a real HP-35s),

Re: An RPN Calculator For Leo

2023-04-30 Thread Edward K. Ream
On Sat, Apr 29, 2023 at 12:42 PM Thomas Passin wrote: I have adapted the open-source *RPCalc* calculator to run in a tab in the > Leo log frame. This calculator is a Reverse Polish Notation (RPN) style > calculator, which IMHO is much better than the algebraic-entry type. It > is the type of