RPN Calculator
Reverse Polish Notation
Infix to Postfix & Evaluate Expression
Shunting-yard algorithm used.
Ruby?
Mubarak's grandson?
Hoping that you get ruby as gift of Epiphany.
Happy New Year to everyone







Moderators: electrogear, exonerate
cyto wrote:Is there a future for SM in the field of finance?

DigitalWhiteByte wrote:RPN Calculator
mwvdlee wrote:DigitalWhiteByte wrote:RPN Calculator
Nice!
I've done math expression parsers in most languages I used and planned to do one in SM a few years ago, but never got beyond the planning stage.
A lot of it still doesn't seem to work though; anything complex or recursive seems to give "Error" in the RPN output.
! (lost for words).DigitalWhiteByte wrote:I updated the version, with the support of variables, like x, y, z
stw wrote:DigitalWhiteByte wrote:I updated the version, with the support of variables, like x, y, z
Yes, why not teaching us beeing fools...![]()
Really great work!
Users browsing this forum: Google [Bot] and 3 guests