Re:Unker Non-Linear Writing System
by oh_sigh on Friday June 05, 2020 @02:01AM
(#23425501)
Especially Befunge. Here's fizzbuzz[0].
It's a stack based language where each character pushes something onto the stack or operates on the stack. The code pointer starts in the top left going to the right. But when it hits things that look like arrows (<, v, >, ^), the code pointer turns in that direction and starts executing that way. There is also the ? command which sends the pointer in a random direction, _ and | which pop a value and send the pointer left/right or up/down if its true, and # which makes the pointer trampoline over and skip the following cell in whatever direction the pointer is moving.
It's a stack based language where each character pushes something onto the stack or operates on the stack. The code pointer starts in the top left going to the right. But when it hits things that look like arrows (<, v, >, ^), the code pointer turns in that direction and starts executing that way. There is also the ? command which sends the pointer in a random direction, _ and | which pop a value and send the pointer left/right or up/down if its true, and # which makes the pointer trampoline over and skip the following cell in whatever direction the pointer is moving.
https://raw.githubusercontent.com/kagof/VSCode-Befunge/maste...