Darwinbots Forum
General => Off Topic => Topic started by: PhiNotPi on February 20, 2014, 07:33:25 PM
-
I recently rediscovered four forgotten operators in Darwinbots. They are clear, drop, swap, and over. Why do I call these the forgotten operators? Because there was no reference to them anywhere on the wiki. Anywhere. Absolutely no mention or documentation.
The wiki had entries for clearbool, dropbool, etc. for the Boolean stack, but it did not list their integer stack equivalents. These forgotten operators seem fully functional, and I have no clue why they were not listed anywhere. They seem very useful.
Anyways, I created a category of operators on the wiki called "Stack Operators" which includes clear, clearbool, drop, dropbool, etc (6 pairs in total).
-
Good job :) I suspect it was something Eric added, and he probably documented it in a forum post but not on the wiki.
-
I haven't really found any reference to them on the forum either. "Swap," for example, I only found in a robot's DNA. "Over" just returned results about "overflow."
-
Damn, Good one, I have missed that completely. Thx.
-
Also, I found that the operators dupint dropint swapint clearint overint are functional, and are just different names for the same operators.