Talk:Forþ

From Esolang
Jump to navigation Jump to search

Rotation

  • How are the top three elements rotated? - Bangyen (talk) 21:15, 11 May 2022 (UTC)
    Move the third element to the top, the top element to the second, and the second element to the third. Jan Gamecuber (talk) 11:26, 12 May 2022 (UTC)
  • By storing a function in a number, does any instance of that number act as that function? In other words, would 0{,o[.]}11-; still act as a Cat program?
    Semicolon calls the top of the stack as a function. So in that context, yes, the code you wrote would act as a cat function. Jan Gamecuber (talk) 12:51, 13 May 2022 (UTC)
  • Do any of the commands (in particular +-*/%~.;) consume their inputs, e.g. would 11+ result in a stack of one element or three elements?
    All of those consume their inputs. Jan Gamecuber (talk) 12:51, 13 May 2022 (UTC)

- Bangyen (talk) 13:15, 12 May 2022 (UTC)

  • Does the command / perform integer division?

- Bangyen (talk) 17:36, 13 May 2022 (UTC)