r/brainfuck • • Apr 28 '19

bf all avialable list

0 Upvotes

i'm not sur if anyone did this before but,here's a code for ALL usable stuff(i'm new to brainfuck,sorry for noob knowledge):

++++++++[<++++++>-]>+++++++++++[<+++++++>-]<++<.>[<+.>-]


r/brainfuck • • Apr 16 '26

are you seeking what is the purpose of life ?

0 Upvotes

Practical Explanation ( For Example ) :- `1st of all can you tell me every single seconds detail from that time when you born ?? ( i need every seconds detail ?? that what- what you have thought and done on every single second )

can you tell me every single detail of your `1 cheapest Minute Or your whole hour, day, week, month, year or your whole life ??

if you are not able to tell me about this life then what proof do you have that you didn't forget your past ? and that you will not forget this present life in the future ?

that is Fact that Supreme Lord Krishna exists but we posses no such intelligence to understand him.

there is also next life. and i already proved you that no scientist, no politician, no so-called intelligent man in this world is able to understand this Truth. cuz they are imagining. and you cannot imagine what is god, who is god, what is after life etc.

_______

for example :Your father existed before your birth. you cannot say that before your birth your father don,t exists.

So you have to ask from mother, "Who is my father?" And if she says, "This gentleman is your father," then it is all right. It is easy.

Otherwise, if you makes research, "Who is my father?" go on searching for life; you'll never find your father.

( now maybe...maybe you will say that i will search my father from D.N.A, or i will prove it by photo's, or many other thing's which i will get from my mother and prove it that who is my Real father.{ So you have to believe the authority. who is that authority ? she is your mother. you cannot claim of any photo's, D.N.A or many other things without authority ( or ur mother ).

if you will show D.N.A, photo's, and many other proofs from other women then your mother. then what is use of those proofs ??} )

same you have to follow real authority. "Whatever You have spoken, I accept it," Then there is no difficulty. And You are accepted by Devala, Narada, Vyasa, and You are speaking Yourself, and later on, all the acaryas have accepted. Then I'll follow.

I'll have to follow great personalities. The same reason mother says, this gentleman is my father. That's all. Finish business. Where is the necessity of making research? All authorities accept Krsna, the Supreme Personality of Godhead. You accept it; then your searching after God is finished.

Why should you waste your time?

_______

all that is you need is to hear from authority ( same like mother ). and i heard this truth from authority " Srila Prabhupada " he is my spiritual master.

im not talking these all things from my own.

___________

in this world no `1 can be Peace full. this is all along Fact.

cuz we all are suffering in this world 4 Problems which are Disease, Old age, Death, and Birth after Birth.

tell me are you really happy ?? you can,t be happy if you will ignore these 4 main problem. then still you will be Forced by Nature.

___________________

if you really want to be happy then follow these 6 Things which are No illicit s.ex, No g.ambling, No d.rugs ( No tea & coffee ), No meat-eating ( No onion & garlic's )

5th thing is whatever you eat `1st offer it to Supreme Lord Krishna. ( if you know it what is Guru parama-para then offer them food not direct Supreme Lord Krishna )

and 6th " Main Thing " is you have to Chant " hare krishna hare krishna krishna krishna hare hare hare rama hare rama rama rama hare hare ".

_______________________________

If your not able to follow these 4 things no illicit s.ex, no g.ambling, no d.rugs, no meat-eating then don,t worry but chanting of this holy name ( Hare Krishna Maha-Mantra ) is very-very and very important.

Chant " hare krishna hare krishna krishna krishna hare hare hare rama hare rama rama rama hare hare " and be happy.

if you still don,t believe on me then chant any other name for 5 Min's and chant this holy name for 5 Min's and you will see effect. i promise you it works And chanting at least 16 rounds ( each round of 108 beads ) of the Hare Krishna maha-mantra daily.

____________

Here is no Question of Holy Books quotes, Personal Experiences, Faith or Belief. i accept that Sometimes Faith is also Blind. Here is already Practical explanation which already proved that every`1 else in this world is nothing more then Busy Foolish and totally idiot.

_________________________

Source(s):

every `1 is already Blind in this world and if you will follow another Blind then you both will fall in hole. so try to follow that person who have Spiritual Eyes who can Guide you on Actual Right Path. ( my Authority & Guide is my Spiritual Master " Srila Prabhupada " )

_____________

if you want to see Actual Purpose of human life then see this link : ( triple w ( d . o . t ) asitis ( d . o . t ) c . o . m {Bookmark it })

read it complete. ( i promise only readers of this book that they { he/she } will get every single answer which they want to know about why im in this material world, who im, what will happen after this life, what is best thing which will make Human Life Perfect, and what is perfection of Human Life. ) purpose of human life is not to live like animal cuz every`1 at present time doing 4 thing which are sleeping, eating, s.ex & fear. purpose of human life is to become freed from Birth after birth, Old Age, Disease, and Death.


r/brainfuck • • Feb 01 '20

My First Post.

0 Upvotes

Hello, my name is Julek and I just started programming in brainfuck.

I can't wait to see more posts on this category.

I got my IDE from this site: 4mhz.de/bfdev.html

Bye!


r/brainfuck • • Jan 06 '21

run it you

3 Upvotes

>> +++++ +++

[<< +++++ +++++

> +++++ +++++ >-]

++++ [< +++++ +++++ >-]

<--- <. >. --.. +++++ + .


r/brainfuck • • Aug 17 '20

How about this editor?

Thumbnail
apps.apple.com
1 Upvotes

r/brainfuck • • Aug 14 '16

Learn Brainfuck in 15 Minutes!

Thumbnail
pastebin.com
0 Upvotes

r/brainfuck • • Feb 09 '26

if a==b in bf

2 Upvotes

just started made single digit input for a and b and output 1 if same 0 if not same

,

>+++++++++[<----->-]<--- take in a to c1 and covert to number

>

,

>+++++++++[<----->-]<--- take in b to c2 and convert to number

<[->-<] subtract a from b

>>+<[>->] if b still have then set c3 to 1 else 0

+++++++++[>+++++<-]>+++. convert to ascii and output


r/brainfuck • • Apr 20 '20

Let's Write a Brainfuck Compiler

Thumbnail
hackdoor.io
3 Upvotes

r/brainfuck • • Nov 13 '16

Whats the best game created with Brainfuck?

3 Upvotes

Speaking of the best, i mean the most impressing one. With the best graphics, the best gameplay or story (? xD)


r/brainfuck • • Feb 16 '20

Every 10th number, print the letter that corresponds to a letter in the alphabet (for example, 80=“h”)

4 Upvotes

,>,<[->+<].


r/brainfuck • • Jun 23 '20

Characters to use instead of the brainfuck command characters

4 Upvotes
Fake: ˃ ˂ 🞣 ‐ ․ ‚ ⦏ ⦎
Real: > < + - . , [ ]

r/brainfuck • • Dec 12 '24

This hurts my brain

0 Upvotes

r/brainfuck • • Aug 08 '26

Brainfuck code that I made

4 Upvotes

+++[>+++++ +++++ +++++ +++++ ++<-]>+.>+++[>++++<-]<[>>+<<-]>>.[>+>+<<-]>- - - - - -.>-.


r/brainfuck • • Aug 02 '26

Acus: create your own Brainfuck compiler (in: your language, out: BF)

4 Upvotes

Hi all,

I would like to introduce everyone here to a project of mine called Acus. It's a C++ library that helps with creating Brainfuck compilers, i.e. compilers that generate BF (not ones that compile BF into something else). Acus is a continuation of my Synapse-191 project, which I posted about here some time ago. Synapse-191 is a physical computer capable of executing Brainfuck natively; Acus grew out of the question of what a useful compiler ecosystem for such a machine would require.

The main goal of Acus is to provide all the abstractions that are needed when translating any source-code into BF: types, variables, functions, arrays, structs, (function) pointers, flow control, and so on. I basically asked myself:

What would it take to implement a C compiler that targets Brainfuck?

and then tried to implement those features.

Acus is not itself tied to C or to any other source language. It is intended as a language-agnostic backend. Therefore, if you ever feel like writing a parser for an existing language (or designing a completely new one) you can use Acus to generate the resulting Brainfuck programs. I still plan to build a dedicated frontend language on top of Acus, but if someone beats me to it, please let me know!

The Acus repository contains an extensive listing of all the library features including examples. If you're curious about the way Acus is able to do all of this, let me know. I am working on technical documentation but it's not public yet. You can have a look at the current draft it you want.

Acus Sugar: start generating BF right now!
A side-quest to this project was Acus Sugar, a layer of syntactic sugar on top of the library to start generating BF right away. I used operator overloading, macros and a bunch of template metaprogramming to construct a 'language' embedded in C++ that is compiled directly to BF. For example, this is what a simple "Hello World" looks like in Acus Sugar syntax:

// hello.acs
main_() {
  println("Hello, World!");
  return_;
};

Bear in mind that this is still valid C++, which is why the syntax is a bit cumbersome with the semicolons and underscores (and which is why I really want a true frontend language). When Acus and its (optional) acs tool are installed, this can be compiled to BF using:

$ acs hello.acs -o hello.bf

The included BF interpreter bfint can then be used to run the BF instructions in hello.bf:

$ bfint hello.bf
Hello, World!

The github repository contains extensive documentation on the library, build instructions and a bunch of examples to get you started. I have only tested on Linux but the CMake system should be compatible with MSVC, I think? Let me know :)

To finish off, I'd like to share the result of a Mandelbrot fractal generator written entirely in Acus Sugar. The resulting BF source was over 500k instructions long and running it through my interpreter took about 4 hours (though that version was not as optimized yet and my laptop is from 2012), but this was the result:

Let me know what you create!


r/brainfuck • • Jul 30 '26

What do you think of my idea? HARDFUCK - Brainfuck but for Hardware!

4 Upvotes

who wouldn't want that!

I'm currently designing a bare-metal Brainfuck core for FPGAs and wanted to get some feedback on the architecture before I start writing all the Verilog.

Tape Architecture (Memory-Mapped I/O) The tape works like standard Brainfuck, but with negative addresses (or pointer overflow) mapped to hardware registers instead of normal RAM:

  • -1: Raw GPIO Data Register (0b00000000 = all off). Using . and , to set/read pins to prevent setting stuff on accident.

  • -2: GPIO Direction Register (0 = input, 1 = output).

  • -3: Analog IN (ADC).

  • -4: Access to instruction memory itself (read/write).

  • -5: Configuration (pin mapping for serial/PWM etc.).

  • -6 to -8 (Copy addresses): Set source address at -6, dest at -7, and writing to -8 via . triggers a fast 1-cycle DMA copy from A to B.

Instruction Memory (4-Bit Encoding)

  • Bit 0: Flag bit (0 = standard BF instruction, 1 = empty/NOP, jump label, or extended ops like bitwise shifts).

  • Bit 1-3: The 3-bit instruction (0 = >, 1 = <, 2 = +, 3 = -, 4 = ., 5 = ,, 6 = [, 7 = ]).

Bootloader Simple approach: Pulling a pin low on reset (or a specific serial sequence) overwrites instruction memory. Since instruction memory is accessible at -4, you could even write a native BF bootloader that reads a new program from serial and writes it straight to memory.

Loops Either a counter tracking nesting depth to scan forward/backward, or just a tiny hardware stack for jump addresses.

What do you guys think? Any suggestions on what else to add to the negative address space?

btw: I only found out about https://www.youtube.com/watch?v=QloNq8AoHvU after I already made this concept, it a similar idea and would be a cool endproduct but the philosophy and design are diffrent (even thoug i could probably design it for that hardware)


r/brainfuck • • Dec 05 '25

i tried making brainfuck worse

13 Upvotes

heres a hello world program

UФффюΓоαПとжαЧСΑяОцюОkΘれИխ

OЭЧРЧにИΓпЧышСЧnοひдфՁ

βэяαшΒЦԹԳ

Ыэцձ

OnΑцрХъУとZыСхОЧУΑcηまVТЩի

ΝΞΟΞΕθοεΘΘΝτմ

lЬРхΒβшせГяСРΒβцСΑУjΧわДщլ

Жω

ЯЩяԴ

ρΜΜΚΠφՆ

λρΕηΞτΚΠե

CqIΒЯшЦくйΑОпуюСЭЪmΗほzхհ

it just takes the characters and swaps them with the brainfuck commands but there are so many ways to write each command


r/brainfuck • • Aug 17 '26

Headache: Tiny high-level language on top of Brainfuck

Thumbnail
github.com
1 Upvotes

r/brainfuck • • Sep 27 '26

I successfully made my first ßrainf*ck code.

1 Upvotes

++++++[>++++++++++++<-]>.[>++++<-]>+++[>++++++++++<-]>+++++++.+++++++..+++.[>++++<------]>.[<++>-]<++++[>+++++++++<-]>----.+++++[<++++>-]<-.+++.------.[>++++<--]>--------.

It should say "Hello WorlD̵" unless i copied it wrong.


r/brainfuck • • Aug 20 '14

4815162342

1 Upvotes

++++++++++++++++++++++++++++++++++++++++++++++++++++ [ .++++.-------.++++.----.+++++.----.+.+.--.--------------------.++++++++++++++++++++++ ] ---.-.++++++++.


r/brainfuck • • Feb 16 '20

Fibonacci Printer

1 Upvotes

Use with a cell size as high as possible to avoid overflow/rollover.

>+[[>+>+<<-]<[>>+<<-]>>[<+>-]>[<<<+>>>-]<<[->+>+<<]>>[-<<+>>]++++++++++>>>>>+<<<<<<[[->->+<[>-<[->>+<<]]>>[-<<+>>]<[-<++++++++++>>>+<<]<<]>>>>>>[>]+++++++++++[<]<<<<[->>>>>[>]<-[<]<<<<]>>>[-<<<<+>>>>]<<<++++++++++<]>[-]>>>>>->[>]<[>++++++[-<++++++++>]<-.[-]<]++++++++++.[-]<<<<<<<]

r/brainfuck • • Feb 15 '20

A message from my community to yours.

0 Upvotes

+[--------->++<]>.++[++>---<]>+.++[----->++<]>.-----.+[->+++<]>+..+++++.+.+++++.-----.---.-----.+++++++++++++.-----------.+++++++++.+++++++++.+[->+++<]>.


r/brainfuck • • Feb 02 '20

[HELP] Can someone explain how this RNG works?

1 Upvotes

Hi, throughout my BF journey, I stumbeled over this RNG code:

>>>++[
    <++++++++[
        <[<++>-]>>[>>]+>>+[
            -[->>+<<<[<[<<]<+>]>[>[>>]]]
            <[>>[-]]>[>[-<<]>[<+<]]+<<
        ]<[>+<-]>>-
    ]<.[-]>>
]

Can someone explain to me how and why it works? The only 'thing' I understand, is that the dot outputs the random number which is then converted to a char (BF-101 ;D ). But I have no clue how these loops generate the random numbers. And are they 'good' pseudo randoms or is there a pattern which is easily recognizable?


r/brainfuck • • Jan 07 '25

Trying to write a simple program

1 Upvotes

hey Folks,

All I'm looking to do combine these two sites

rainymood [listen to rain on repeat] and repeatimer [sets a repeating timer].

The problem is I'm on a restricted chromebook which won't allow me to download anything, I've looked into online compiler for python and brainfuck but they understandably fail when trying to source the audio.

All I want is a simple website which plays rain on repeat and beeps every 5minutes.

Can anyone point me in the right direction please


r/brainfuck • • May 30 '14

Is this problem simple?

1 Upvotes

Hi friends!

I've just added new functionality to my site. Now it can offer problems about coding in Brainfuck.

I created a simple problem to check all is working:

http://www.codeabbey.com/index/task_view/tricky-printing

I really thought it is simple, moreover that slightly extended version of the language is used (with ; and : commands allowing to input / output the value of the cell as decimal).

However I just have seen that two users from among the top of the ranking failed to solve it. :(

Could you please read the statement and tell, whether it is too badly expressed - or tell if the problem itself is bit too hard?


r/brainfuck • • Nov 12 '19

Hi everyone! I made a little icon for a Brainf*uck IDE, I think it could be the subreddit logo too.

Post image
15 Upvotes