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.

Beaverfuck

From Esolang
Jump to navigation Jump to search

Beaverfuck is an esolang made by User:A random guy in the Anomalozoic Period that is based off of the logic of the Busy Beaver function's (BB()) turing machine but of course, Brainf**kified.

Commands

Command Description
< Just like Brainf**k's Left Pointer but it activates when the state before it returns a 1.
> Just like Brainf**k's Right Pointer but it activates when the state before it returns a 1.
( Just like Brainf**k's Left Pointer but it activates when the state before it returns a 0.
) Just like Brainf**k's Right Pointer but it activates when the state before it returns a 0.
0 Sets the current cell's value to 0 no matter what.
1 Sets the current cell's value to 1 no matter what.
/ Set's the cell's value to 1 if the value is 0, and 0 if the value is 1.
\ Flips the cell value to 1 if the value is 1, and 0 if the value is 0, basically just does nothing.
[(NumDots1)(O,I(Numdots2)(O,I),... (Numdotsn)(O,I) Input wire of a state with dots representing what state it came from in left to right order, (. being from the first state, .. being two, basically ignores all input wires.) with O and I representing Read 0 and Read 1 from the output of a state (0,1,/,\) indicated by the dots.
#(Numdots) Prints whatever the result is for * based off of the number of dots. (1 is the 1st one, 2nd is the 2nd one, and so on.)
* Helps the # know what point to print, always prints the current tape position for the state before it.
%(NumDots) Prints a cell’s numerical value at the step defined by how many dots there are.
$(NumDots) Uses the cells from the pth (Pointer Cell) up to the p+7th cell to print out a ASCII character at NumDots step (meaning the step it gets printed is determined by the amount of dots there are.)
(I/O)! Halts the Program if for I, the input is 1, and for O, if the input is 0.

<> always goes before ()

Programs

Skelet 1

WIP

BB(5)

[.....I....I1<)[.O..I1>)[.I..O/<)[...O....I1<([...I/<)O!