BrainPuff is a programming language based on Brainfuck and the speech of everypony's favorite fluffy pony, Fluffle Puff.
BF Fluffle Puff
+ pf
- bl
> b
< t
. !
, ?
[ *gasp*
] *pomf*
Sample hello world in Brainfuck:
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Sample hello world translated in BrainPuff:
pfpfpfpfpfpfpfpfpfpf*gasp*bpfpfpfpfpfpfpfbpfpfpfpfpfpfpfpfpfpfbpfpfpfbpfttttbl*pomf*bpfpf!bpf!pfpfpfpfpfpfpf!!pfpfpf!bpfpf!ttpfpfpfpfpfpfpfpfpfpfpfpfpfpfpf!b!pfpfpf!blblblblblbl!blblblblblblblbl!bpf!b!
Output:
Hello World!
This project comes with a reference implementation written in C++.
Just install flex
, then type make
in a Linux, Mac OS X or Windows (with Cygwin) command prompt. Then you can run it like this:
% cat hello.fp | ./flufflepuff
% ./flufflepuff < hello.fp
% ./flufflepuff hello.fp
That's really simple. For now.
This is the reference implementation released under GPL, so feel free to make your own implementation in other languages. You'll want to link back to the original project's page on your project page and tell me about it so I can link you here, it will be greatly appreciated.