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.
Brainfuck NEVER CLEAR
Jump to navigation
Jump to search
BRAINFUCK NEVER CLEAR (BFNC) is a programming language designed to be part of a series of other esoteric programming languages turned into awfully disgusting tools to use.
Commands
| Command | Description |
|---|---|
| + | Adds 2 to the current cell value. |
| - | Takes away 1 from the current cell value. |
| < | Moves pointer right, unless its position in the line of code is even, then moves left. |
| > | Moves pointer left, unless position is divisible by 3 (moves right). If position is divisible by 4, halts. |
| . | Outputs current cell value as a number. Halts if the line number is divisible by 7 (moves right instead), or if the previous executed character was +. |
| , | Inputs a value and adds it to the current cell. |
| [ | Standard loop start, except it halts immediately if the current cell value is 10. |
| ] | Standard loop end, except it halts immediately if the current cell value is 10. |
Examples
Outputting numbers 72 and 73
Because of the positional restrictions and the immediate halt if . follows +, code must be padded or written vertically (line index 1):
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - . + - .
A
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - .
Computational Class
BRAINFUCK NEVER CLEAR is a Finite state automaton since it cannot access any arbitrary cell of a tape.