bf2pl - A Brainfuck to Perl Converter
bf2pl is my implementation of Brainfuck and is made
available under the GNU General Public License.
I opted for this implementation for a few reasons:
All in all, I thought it was good idea. You can download the converter, text
version of the tutorial and the example programs here.
- It would allow most anyone to play with the language and not
have to find or build an implementation for their platform.
- You get the advantage of being able to use any of Perl's features to
debug your program, including the Perl debugger.
- It makes it easy to build a converter to another language simply by
writing an appropriate initalization sub.
First Program |
Input Processing |
Building Blocks |