12
pk359
7y

brainfuck - your next programming language. A simple tutorial
Sample 1:
-[------->+<]>.-[->++++<]>.++[--->++<]>.+++.+++++++.+[->+++<]>.--[--->+<]>-.+[->+++<]>+.+.[--->+<]>-.----.+++[->+++<]>++.+++++++++++++.++++++.[++>---<]>.++[--->++<]>.++[->++<]>.[--->+<]>+++.[--->+<]>-----.--[->++++<]>+.----------.++++++.--[->+++++<]>.
Output: "I love devrant. Do you?"

Sample 2:
----[---->+<]>++.[--->+<]>+++.----------.-[--->+<]>-.--[->++++<]>+.----------.++++++.---.[-->+++++<]>+++.[->+++<]>++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.-[->+++++<]>-.-[--->++<]>-.++++++++++.+[---->+<]>+++.++[->+++<]>.-[--->+<]>--.+[->+++<]>+.++++++++.------.-.[->+++<]>++.++[--->++<]>.[-->+++++<]>-.+[--->+<]>++.[-->+++++<]>+++.-[--->++<]>-.+++++++++++.[---->+<]>+++.-[--->++<]>-.++++++++++.-----.[++>---<]>++.[->+++<]>-.-[->+++++<]>.

Output: "And your brain is fucked. Or it isn't?"
----------------------
Wanna play with it?
Text to brainfuck: https://copy.sh/brainfuck/text.html
Brainfuck to text:
https://sange.fi/esoteric/...

Comments
  • 1
    Just to fulfill my curiosity, is brainf___ purely for writing text? Can it do anything more?
  • 1
    @SpencerBeige it can do a lot of things.
Add Comment