We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

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
--   -------
>    >
*    {}>
<    {}>{}
[    {}>{
]    }{}>{}

Examples

Flip Bit

This simple example stores the bit value one (1) in the first cell and terminates:

{}

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
--   -------
>    >
*    {]>
<    {]>{]
[    >{]>{
]    ]

Examples

Infinite Loop

This program demonstrates a perpetually repeating loop:

>{]>>{>{]]

Interpreter

  • Common Lisp implementation of the SBFM programming language family.