SBFC

From Esolang
Jump to navigation Jump to search

SBFC(Shifted Brainfuck Compressed) is a compressed version of Shifted brainfuck.

Three instructions result 343 possible combinations. If +-, -+, <>, ><, [], ][ and .. are not allowed, then only 252 possible combinations remain, which fits a byte.

Note: .. is sometimes useful, it's excluded just to fit in byte. In this case, some extra effort may be needed.

Variants

Add support of ..+

This allows .. at any place take at most 4 instructions:

  • abc ..d => abc ..+ -d (if d is not +)
  • a.. => a.+ -.

This section doesn't affect the PPCG question