Why does Forth implement the rot operator, and why does it operate on exactly the three top-most items of the stack?
Is it just for convenience or would Forth not be Turing-complete without such an instruction? Is the number of three the minimum viable option to be Turing complete?
I can imagine one could implement rot with pick or roll. So if there was none of these three operations, would it still be Turing-complete?
This topic has nothing to do with Turing-completeness at all.
rotoperation is for convenience and efficiency only. It can be defined usingswap:pickandrollcan be also implemented using return stack (these>RandR>operations), or any other stack.A stack can be implemented using memory access words.