bit~

From Esolang
Jump to navigation Jump to search

bit~ is a language made by User:RealUndefined, in May 2019. It is a cell-based language that uses bits to store information.

Commands

Command Instruction
~ Flip the current bit of the data pointer.
> Move the data pointer to the right.
< Move the data pointer to the left.
) Get the input as character and flip the current bit and the next 7 bits of the data pointer, according to the ASCII character code in binary.
( Output the character by looking at the current bit and the next 7 bits of the data pointer.
{ ... } Skip the block of command if the current bit of the data pointer is 0, otherwise, do the following commands while current bit of the data pointer isn't 0.

Implementations

A Ruby interpreter by User:Bangyen.