javascript-playground icon indicating copy to clipboard operation
javascript-playground copied to clipboard

Befunge-93 Put and Get have swapped X Y values

Open derDere opened this issue 2 years ago • 0 comments

Hello, according to the following three Wiki Entries the X and Y values used for p (put) and g (get) commands are popped the other way around from the stack.

  • https://esolangs.org/wiki/Befunge
  • https://de.wikipedia.org/wiki/Befunge
  • https://en.wikipedia.org/wiki/Befunge

According tho those wikies, the first poped value is Y and the second one is X (and the third one is V) but in your visual-befunge93-interpreter they are used as if the first value is X and the second one is Y this causes you to have to enter them in reversed order and also makes a lot of befunge examples not work correctly.

derDere avatar Apr 17 '23 07:04 derDere