Qbasicnews.com

Full Version: Expression evaluator
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
That's what I do, only that I call recursively using the RPN approach instead of doing it iteratively. I think recursively:

A. I think.
B. I think that I think.
aga: It seems like a waste of time to have RPN, but its really not. Once you get the rpn bit working, coding is so much easier. But thats just my opinion.

nathan: Coolness, i never realised. Ill prolly look at your code alot closer heh.
Of course it's easier. You basically already got the solution!
exactly Smile. I was making a rpn compiler once lol. it was very minimalistic and nearly finished in 2 days heh.
i once tried to make such an rpn compiler because the programmer formerly known as cgi joe told me about it, but i never quite got the hang of it. i couldnt understand how you interpret and unfold everything.

instead, also in two days, i made a much more complex-sounding work-around that solved simple strings within parenthesis, and continually replaced the parenthesis in a loop until there were none left.

do you have that program? i'd like to study the source. c'mon, i'll be your friieeend.

...

nuts.
I warn you, its in PASCAL Smile.

Also toonski can i add you to my msn/icq list or something? thnx..
AIM jofers.

got nothing else right now Sad

and dont worry - pascal aint got nothin on me. delphi? well, you aint been tellin' me 'bout no delphi, but pascal, man, bring it on!
ok. Heh could you add me to your aim list (trillian is being evil i cant find you). My username is darknessdoshoar (i just signed up for it then heh cant remember my old account).
Pages: 1 2 3 4 5 6