javascript-playground
javascript-playground copied to clipboard
Befunge-93 Put and Get have swapped X Y values
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.