Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: mdr1 on July 19, 2013, 08:48:58 am

Title: [Lua] Saisie RPN
Post by: mdr1 on July 19, 2013, 08:48:58 am
Hi everyone!

With this Lua program, you'll be able to enter your calculations in the mode RPN (Reverse Polish notation) (http://en.wikipedia.org/wiki/Reverse_Polish_notation). It enables you to enter them faster, have details of calculation each time and avoid operating errors priority. Menu and help menu are up to now in french, but I'll do a translation.

Here's a screenshot:
(http://img11.hostingpics.net/pics/192138untitled13.png)
Any suggestion, remark or bug report it welcome!

Future features adding:
Last version (2) (http://www.omnimaga.org/ti-nspire-projects/%28lua%29-saisie-rpn/msg379361/#msg379361)
Title: Re: [Lua] Saisie RPN
Post by: AlexisVieira on July 19, 2013, 11:45:24 am
seems interesting. good job
Title: Re: Re: [Lua] Saisie RPN
Post by: DJ Omnimaga on July 19, 2013, 12:28:03 pm
Good job so far. I know that some HP calc users missed RPN when it vanished from calcs with the HP 39gII, so if they got an Nspire they would like this. :)
Title: Re: [Lua] Saisie RPN
Post by: mdr1 on July 19, 2013, 04:37:29 pm
Quote from: DJ Omnimaga
Good job so far. I know that some HP calc users missed RPN when it vanished from calcs with the HP 39gII, so if they got an Nspire they would like this. :)

Thanks. I've been dreaming having RPN for a long time, and I had the idea to add it to the Nspire thanks to Lua. You can notice that this program does better than current HP Prime's RPN mode.


Update:
(19/07/13) 1.1.1->1.1.2 : Correction de bugs, ajout des fonctions trigonométriques inverses et hyperboliques, support de la touche (-), redimensionnement corrigé, ajout des numéros des entrées, ajout de la puissance "^", ajout de "10^".
Title: Re: [Lua] Saisie RPN
Post by: mdr1 on July 19, 2013, 09:14:51 pm
Well... an update again. XD This one adds the exact calculation, but the results are sometimes strange. Of course, you can disable it with the menu.

(http://img15.hostingpics.net/pics/917394untitled15.png)

Help: how to enter these calculations? There:

Download version 1.2.1
vvvvvvvvvvvvvvvvvvvv
Title: Re: [Lua] Saisie RPN
Post by: DJ Omnimaga on July 26, 2013, 02:24:51 am
Good to hear :D
Title: Re: [Lua] Saisie RPN
Post by: AnToX98 on November 10, 2013, 11:19:51 am
That is an awesome work :D
You should just work a little bit to make a better GUI, then evrything is perfect :)
Title: Re: [Lua] Saisie RPN
Post by: mdr1 on November 10, 2013, 11:25:21 am
Thanks. I'm coding the whole code again with a different structure to be able to recycle the D2Editor instances (which cannot be deleted) and some other stuffs. I didn't find any solution to know the size of formula in pixels though. For the GUI, what do you think I could especially improve?
Title: Re: [Lua] Saisie RPN
Post by: AnToX98 on November 10, 2013, 11:32:18 am
Little things as :
- Drawing a line between each calculations
- Sidebar to go up and down and up easily ?

Conversely, I don't know if it is possible to do that with the 2D editor...
Title: Re: [Lua] Saisie RPN
Post by: mdr1 on November 10, 2013, 11:44:38 am
I can easily add a line separating calculations if you think it may improve the graphic aspect. A sidebar would be very difficult, but if I finally add the features I want, I could try to add a navigation in the historic.
Title: Re: [Lua] Saisie RPN
Post by: mdr1 on March 23, 2014, 02:05:16 pm
New version! The code has been entirely remade. Many features have been added.
(http://tiplanet.org/forum/gallery/image.php?mode=medium&image_id=3605)
Ajouts (in french, sorry):
EDIT: fixed a bug.
Title: Re: [Lua] Saisie RPN
Post by: AnToX98 on March 23, 2014, 03:42:09 pm
Super je teste tout de suite ! :)