bf(1)
π bf β yet another Brainfuck interpreter π
okay bestie, so this is bf(1), from the devel section, and it's literally a Brainfuck interpreter. Yes, THAT Brainfuck. The esolang. Sit down, we're doing this together. π«Ά
β¨ NAME β¨
bf β yet another Brainfuck interpreter
π SYNTAX π
bf [-h] [options] <filename>
π¦ DESCRIPTION π¦
bf ('Yet another Brainfuck interpreter') is a simple interpreter for the esoteric Brainfuck language. That's it. That's the whole vibe. She interprets. She's simple. She slays. π
π OPTIONS π
-c<num>β specify the number num of the last cell you're allowed to use in your Brainfuck program.
So if you use -c0 (or just -c), you'll have one cell (one byte in memory) to use on your tape. The Brainfuck interpreter by Urban Mueller used an array of 30000 bytes (-c29999). Our default value is 9999. Usually you need less. ngl, 9999 cells is already a lot of real estate. π‘
-iβ output Brainfuck code input tostderr.
This feature is useful if you can't figure out why some Brainfuck code doesn't work the way it should, e.g. ignored loops, or a Brainfuck character hiding inside a comment. π (not the sneaky comment character!!)
Note: up to 32 +, -, < and > are summarized and displayed as only one. This feature was introduced in version 20040423.
-nβ some Brainfuck contests specify a0byte as End Of Input. So-ntranslates a\nbyte input into a0byte input.
Disadvantage: the input can only consist of one line. π
-wβ disallow byte wrap-around. This causes errors if you try to decrement (-) a0x00byte or to increment (+) a0xFFbyte.
This feature is useful if you want to take part in Brainfuck contests where such wrapping-around is disallowed. By default (without -w), incrementing 0xFF results in 0x00 and decrementing 0x00 results in 0xFF. π
-,<mode>β specify input mode.<mode>can be:0(zero) Normal input usinggetchar(3).1Single-char input. You won't see what you type. π2Single-char input. You will see what you type. π3The same as1, but doesn't allow escape characters if compiled with slang.4The same as2, but doesn't allow escape characters, if compiled with slang. (recommended) β
Default is 0. (In some versions the default was 4.)
πΈ LIMITATIONS πΈ
bestie, these are the rules. no cap.
- It's not allowed to
<below the first cell. π« - It's not allowed to
>beyond the last cell. π«
π AUTHORS π
Stephan Beyer <s-beyer@gmx.net> β the icon, the legend, the moment. π
and that's the whole page, bestie!! π this version is from 20041219, written by Stephan Beyer <s-beyer@gmx.net>, and it lives in the devel section of the manual β go forth and brainfuck responsibly, mwah πβ¨
π¦ where this page comes from
- ubuntu jammy: bf 20041219ubuntu7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms