Skip to content

takano32/bfbf

Repository files navigation

Self Evaluation Brainfuck

第1回いたこ会 @ USP研究所で話す内容を作っていたら、どんどんでかくなったレポジトリです。

Do you wanna brainfuck in ShellScript?

you can do it!

./bf2sh.sh < hello.bf

issueing above command, you can generate ShellScript to print "Hello, world!".

./bfsh.sh < hello.bf | sh

so, you can print "Hello, world!" by issueing above command. :)

Do (snip) in Ruby?

./bf2rb.rb < hello.bf | ruby

Do (snip) in Python?

./bf2py.py < hello.bf | python

Do (snip) in Lua?

./bf2lua.py < hello.bf | lua

Do (snip) in Perl?

./bf2pl.pl < hello.bf | perl

Do (snip) in PHP?

i dont so wanna do it. :-P

./bf2php.php < hello.bf | php