Herd

A programming language with yaks!


Increment the data pointer (to point to the next cell to the right).

Increment the data pointer by 3.

Decrement the data pointer (to point to the next cell to the left).

Decrement the data pointer by 3.

Increment (increase by one) the byte at the data pointer.

Increment by 3 the byte at the data pointer.

Decrement (decrease by one) the byte at the data pointer.

Decrement by 3 the byte at the data pointer.

Set the byte to 25.

Set the byte to 0.

Output the byte at the data pointer.

Accept one byte of input, storing its value in the byte at the data pointer.

If the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next command, jump it forward to the command after the matching command.

If the byte at the data pointer is nonzero, then instead of moving the instruction pointer forward to the next command, jump it back to the command after the matching command.

HALT_AND_CATCH_FIRE (i.e. exit())

Special characters

Language version. Start your code with one .


Hello world!


This is a brainfuck derivative. All hail Urban Müller! This is not considered canonical usage of the yaks.