Skip to content
Fluffle Puff Programming Language
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Jan 10, 2014
Makefile Forgot to remove the debug flag Jan 10, 2014
README.md Lunar Fire's implementation is back (closes #5), also it's on Esolangs Feb 28, 2017
flufflepuff.l
hello.fp

README.md

BrainPuff

BrainPuff is a programming language based on Brainfuck and the speech of everypony's favorite fluffy pony, Fluffle Puff.

Conversion table

BF  Fluffle Puff
+   pf
-   bl
>   b
<   t
.   !
,   ?
[   *gasp*
]   *pomf*

Examples

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!

Compile and Run

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.

Implementations

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.

Links

Fluffle Puff

You can’t perform that action at this time.