[Push] Push2 Fibonacci Code

Rud Merriam k5rud at arrl.net
Sat Nov 1 14:27:09 EST 2003


I'm working with my own C++ code.

Question: If there are multiple items on the Code stack will DO and DO*
evaluate only the top item or continue until the stack is empty? It seems
something continues until the stack is empty but I'm not sure if it is these
operators or an outer interpreter of some type.

I don't know where the Fibonacci came from since it is factorial. <sigh>

I now have most of the examples in examples.program working. I even
implemented an outer interpreter to handle "runpush" and "print-stacks". I
just have to implement some of the type specific operations. I probably
should retract the "most" since I haven't done any of the Code list
operations. Those will be a bit of a challenge.

Thanks for the Float.% URL. I was wondering about it mathematically. Who
knows what a genetic program will use to get a result. The code modification
solutions in some of your papers are intriguing.

Rud Merriam
K5RUD





More information about the Push mailing list