*bfuck

From Esolang
Jump to navigation Jump to search

*bfuck is an esolang by User:ChuckEsoteric08 based on brainfuck

Commands

The tape has infinite amount of nonnegative unbounded integers

+-,.[]

Are the same, <> are removed and there is additional command

|

Which toggles between two states: in one of them commands function on the first cell, which is default one; and second one, in which the cell which is the cell which first cell points to, so if first cell value is 0 it will modify the first cell, if it is 1 it will modify second cell and ect.

Examples

Set second and third cells to 2 and 4, respectively, add them and store result in second cell

+|++|+|++++[-|-|+|+|]

Converting brainfuck to *bfuck

BF = *F
Programm start = +
+ = |+|
- = |-|
> = +
< = -
[ = |[|
] = |]|