brainfuck

Just found out about brainfuck from Peter Schneider’s blog post about his Powershell brainfuck interpreter and compiler. Classed as an “esoteric programming language“. So subversive. And such an appropriate name. Created by Urban Müller in 1993, it has only eight commands. Wow!

“Hello World!” looks like this:

++++++++++
[>+++++++>++++++++++>+++>+<<<<-] The initial loop to set up useful values in the array
>++.                             Print 'H'
>+.                              Print 'e'
+++++++.                         Print 'l'
.                                Print 'l'
+++.                             Print 'o'
>++.                             Print ' '
<<+++++++++++++++.               Print 'W'
>.                               Print 'o'
+++.                             Print 'r'
------.                          Print 'l'
--------.                        Print 'd'
>+.                              Print '!'
>.                               Print newline

Needless to say, I will not be using it in any project soon.

Leave a Reply

Your email address will not be published. Required fields are marked *