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.

BitPush

From Esolang
Jump to navigation Jump to search

BitPush is an esolang created by MJM (homepage), and first publically described in 2021 on User:Truttle1's discord server. Code and data are both stored on an array of stacks of bits.

The following is the original description, word-wrapped to 60 columns:

BITPUSH

Bitpush data is contained within blocks of binary, which are
executed in sequence. Bitpush source code is put into the
first block before execution. All other blocks start empty.

When the block pointer reaches an empty block, the program
will halt.

The instructions are as follows:
0J
 Jumps to the beginning of the specified block, where J=0 is
 the previous block and J=1 is the next block.
1DJ
 Inserts bit D at the beginning of the specified block,
 where J=0 is the previous block and J=1 is the next block.