Posts: 6,419
Threads: 74
Joined: Mar 2002
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.
Posts: 294
Threads: 9
Joined: Oct 2002
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.
Posts: 3,368
Threads: 195
Joined: Jan 2003
Of course it's easier. You basically already got the solution!
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 294
Threads: 9
Joined: Oct 2002
exactly
. I was making a rpn compiler once lol. it was very minimalistic and nearly finished in 2 days heh.
Posts: 2,020
Threads: 24
Joined: Jun 2002
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]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Posts: 294
Threads: 9
Joined: Oct 2002
I warn you, its in PASCAL
.
Also toonski can i add you to my msn/icq list or something? thnx..
Posts: 2,020
Threads: 24
Joined: Jun 2002
AIM jofers.
got nothing else right now
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!
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Posts: 294
Threads: 9
Joined: Oct 2002
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).