SBFM

From Esolang
Jump to navigation Jump to search

SBFM (Strange brainfuck minimalizations) are brainfuck minimalizations created by User:ChuckEsoteric08

Notes

Note that in all of them loops are only run if they are not empty

SBFM-1

> - move pointer right
{ - flip bit and start while not zero loop
} - end while not zero loop and move pointer left

1-bit brainfuck to SBFM-1:

BF   SMBFM-1
--   -------
>    >
*    {}>
<    {}>{}
[    {}>{
]    }{}>{}

SBFM-2

{ - flip bit, move pointer left and start while not zero loop
> - move pointer right
] - end while not zero loop

1-bit brainfuck to SBFM-2:

BF   SMBFM-2
--   -------
>    >
*    {]>
<    {]>{]
[    >{]>{
]    ]