From Esolang
Jump to: navigation, search

BFStack is an esoteric brainfuck derivative. It is stack based instead. The instructions are almost the same, but changed to be stack based.

">" Pushes 0 onto the stack

"<" Pops the top of the stack.

"." Prints top of stack as ascii

"," Pushes input to top of stack

"+" increments top of stack

"-`" decrements top of stack

"[" if top of stack is 0, jump to corresponding "]"

"]" if top of stack isn't 0, jump to corresponding "["