Bitfuck

From Esolang
Jump to: navigation, search

Bitfuck is a boolfuck equivalent with only 4 characters. It is similar to RISBF, but operating only on bits.

Command Description
* Toggle bit
< Move pointer left
> Move pointer right
! Start of the following two-character sequence commands:
!! Output bit at pointer
!* Input bit at pointer
!< Jump past the matching !> if bit at pointer is 0
!> Jump back to the matching !<