Barfuck
a binary instruction chaining brainfuck.
Barfuck works by accumulating repeating operators to form an LSB-first binary number. That number in turn determines the repetitions of each operation. If the list of commands isn't clear enough, I suggest looking into Brainfuck first. A detailed explanation of Barfuck specifically will be added soon.
=>
|||+ ||+.+|++ +.+++|.++.<|||| |+.>|||- -.|||+ +.++.|--.|||-.<+.-
out:
| Shortcut | Effect |
|---|---|
| Shift+Enter | Run repl as is. |
| Ctrl+Enter | Clear tape & run. |
| Alt+Enter | Clear out & run. |
| Op | Function |
|---|---|
| > | Increment tapehead. |
| < | Decrement tapehead. |
| + | Increment cell under tapehead. |
| - | Decrement cell under tapehead. |
| . | Print cell value. |
| , | Set cell to user input. (NOT READY!) |
| [ | Cell==0 ? Skip loop, else set loop start. |
| ] | Cell==0 ? End loop, else jump to loop start. |
| | | Noop, contributes to number formation only. |