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.


Posted

in

by

Tags:

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.