Python BF Interpreter - Printable Version +- Forums - Open Redstone Engineers (https://forum.openredstone.org) +-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html) +--- Forum: Programming (https://forum.openredstone.org/forum-8.html) +--- Thread: Python BF Interpreter (/thread-1253.html) |
Python BF Interpreter - Iceglade - 10-26-2013 What can I say? I don't think I did that bad on the code. The way I constrained the numbers to unsigned bytes is kinda cheaty... but who cares? Here's a pastebin link: http://pastebin.com/6Yz2JFj1 Enjoy! P.S. I also set up the file I/O so that you can specify your code as the first command line argument. (Windows slang: You can drag your BF code onto the python file and it will run it. RE: Python BF Interpreter - mad1231999 - 10-27-2013 So many liiiiines :'( RE: Python BF Interpreter - Iceglade - 10-27-2013 It's kind of un-pythonic, yeah. And guess what? I made some updates and now there are more lines! RE: Python BF Interpreter - EDevil - 10-28-2013 More lines == Brainstorming == 10 years later Brain bleeding == Serious damage == Surgery == Complications == Serious complications == Death. Your program causes our death RE: Python BF Interpreter - Jmking80 - 10-28-2013 ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. Sorry Evil if your head hurts now. RE: Python BF Interpreter - mad1231999 - 10-28-2013 >+++++[<+++++>-]<++++++++++.>++++++++[<++++++++>-]<++++++.+++++.>+++[<--->-]<--.+++++++++.+++++++++.>++++[<---->-]<-.+.>++++++++[<-------->-]<-----.>+++++[<+++++>-]<+++.>+++++++[<+++++++>-]<++++++.+.>++++[<---->-]<.+++++.++++++.>++++++++[<-------->-]<-.>+++++++[<+++++++>-]<+++++++++.>++++++[<------>-]<------.>+++++++[<------->-]<---.>+++++++++[<+++++++++>-]<++++++++.>+++[<+++>-]<+++.-.+++++.+.>+++++++++[<--------->-]<---.>++++++++[<++++++++>-]<+++++++++.+++++.++++++.>+++++++++[<--------->-]<---.>++++++[<++++++>-]<+++++++++.>+++[<--->-]<---.>++++[<++++>-]<+++++++.+++++++.>+++++[<----->-]<--.+.>+++[<+++>-]<++.++++.>+++[<--->-]<---.>++++++[<------>-]<----.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++[<++++>-]<+.-..----.>+++[<--->-]<---.>++++++[<++++++>-]<+++++++++.--------.++++++++.>++++[<++++>-]<++.>+++[<--->-]<---.----------.>++++[<++++>-]<+.>++++[<---->-]<-----.>++++++[<------>-]<-.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++[<++++>-]<+++.---....>+++[<+++>-]<++.>+++++++[<------->-]<.>++++[<++++>-]<++++++.>++++[<---->-]<------.>+++++++++[<+++++++++>-]<++++++++++++++.+++++.++++++.>+++++++++[<--------->-]<---.>++++++++[<++++++++>-]<+++++++++++++.>+++[<--->-]<---.++++++++.+++++.>++++++++[<-------->-]<------.>++++++++[<++++++++>-]<+.+++++.++++++.>+++++++++[<--------->-]<---.>++++++++[<++++++++>-]<+.>++++[<++++>-]<+.>+++[<--->-]<--.----.>+++++++[<------->-]<------.>+++[<--->-]<---.>++++++++[<++++++++>-]<+++.+++++.-------.>++++[<++++>-]<+.>+++++++++[<--------->-]<-.++++++++++..>+++++++[<+++++++>-]<++++++.>++++[<++++>-]<+.>+++[<--->-]<--.>+++[<+++>-]<++++++.>++++++++[<-------->-]<-------------.---------.>+++++++++[<+++++++++>-]<++++++++++.>++++++++++[<---------->-]<-------------.-.>+++++++++[<+++++++++>-]<+++++++++++++++.---.>+++++++[<------->-]<-------------.>+++++++[<+++++++>-]<++++++++.>++++[<++++>-]<+.>+++[<--->-]<--.----.>++++++++[<-------->-]<---.>+++++[<+++++>-]<+++.+.>+++++[<----->-]<----.>++++[<++++>-]<+.--------.---------.>+++++++++[<+++++++++>-]<++++++++++.>+++++++++[<--------->-]<----------.>++++++++[<++++++++>-]<++++++++++++++++.++.---------.+++++.++++++.>+++[<--->-]<-----.>+++++++[<------->-]<-------------.------.>+++++++[<+++++++>-]<++++++.>++++[<++++>-]<++++++.++++++.>+++++++++[<--------->-]<----.>++++++++[<++++++++>-]<++++++++.-------.>++++[<++++>-]<+++++.>++++[<---->-]<-.>++++++++[<-------->-]<-----.>+++++++++[<+++++++++>-]<+++.-----.>++++++++[<-------->-]<---------------.>+++++++++[<+++++++++>-]<++.---.>+++[<--->-]<--.--.++++++.---.>++++[<++++>-]<+++.>+++++++++[<--------->-]<--------.>++++++++[<++++++++>-]<+.>++++++++[<-------->-]<-.>++++++++[<++++++++>-]<++++++.+++.+++.-------.+++++++++.>+++[<--->-]<----.>+++[<+++>-]<+++.--------.>+++++++[<------->-]<------.>+++[<--->-]<-----.>+++++++[<+++++++>-]<++++.>+++++[<+++++>-]<+++++.>++++[<---->-]<--.++++++.--.>++++++[<------>-]<-------.>+++++[<+++++>-]<+++++++++.>++++[<++++>-]<++.>+++++++[<------->-]<-.>++++++[<++++++>-]<+++++.>++++[<++++>-]<+++.>++++[<---->-]<---.--.>++++[<++++>-]<++.-.>++++[<---->-]<---.+.++++++++++.-------.>++++++[<------>-]<---.>+++++[<----->-]<-----.>+++++[<+++++>-]<+++.++++++.++++.>++++++[<------>-]<--.>++++++++[<++++++++>-]<++++++.+++.+++.-------.+++++++++.>+++[<--->-]<----.>+++[<+++>-]<+++.--------.>++++++[<------>-]<---.>+++++[<+++++>-]<+++++.>++++[<++++>-]<++.>++++++++[<-------->-]<------------.+++++++.>++++[<++++>-]<++.>+++++[<----->-]<--.>+++++++++[<+++++++++>-]<+.>+++[<--->-]<----.>+++[<+++>-]<++++++.+.---.----.>++++++++[<-------->-]<--------------.>++++[<++++>-]<.>+++[<+++>-]<++.>+++++[<----->-]<--.>+++++++++[<+++++++++>-]<++++++++++++.>++++++++++[<---------->-]<---------------.-.>+++++++++[<+++++++++>-]<+++++++++.+++++.-------.>++++[<++++>-]<+.>+++++++++[<--------->-]<-.>++++++++[<++++++++>-]<+++++++++++++.--------.++++++++.>++++[<---->-]<--.>+++[<--->-]<-----.--------.++++++++.>++++[<++++>-]<++.>+++[<--->-]<---.----------.>++++[<++++>-]<+.>++++[<---->-]<-----.>++++[<++++>-]<++++++++.>+++++[<----->-]<---------.>+++++[<----->-]<--.>+++[<+++>-]<++++++..>+++[<--->-]<------.>++++[<++++>-]<+++.---.----.++++...>++++[<---->-]<.>++++++++[<++++++++>-]<+++++++++.++++++++++.>+++++++++[<--------->-]<--.>++++++++[<++++++++>-]<++++.+.+.-----.>++++[<++++>-]<++++.---------.++++++++.>+++++++++[<--------->-]<---.>+++++++++[<+++++++++>-]<++++++.>+++[<--->-]<-----.>+++[<+++>-]<++.>+++[<--->-]<---.>++++++++[<-------->-]<--------.>+++++[<+++++>-]<+++++++++.>++++++[<++++++>-]<++++++++++++.>++++[<---->-]<-.++++++++.+++++.--------.>+++[<+++>-]<++++++.>++++[<---->-]<--.++++++++.>+++++++++[<--------->-]<----------------.-.>+++++++++[<+++++++++>-]<+++++++++++++++.+++++.++++++.>+++++++++[<--------->-]<---.>++++++++[<++++++++>-]<++++++++++++.---.+++++.----------.+.>++++[<++++>-]<+++.>+++++[<----->-]<----.>+++[<--->-]<-----.>+++[<--->-]<---.>++++[<++++>-]<+++++++.+++++++.>+++++[<----->-]<--.+.>+++[<+++>-]<++.++++.>+++[<--->-]<---.>++++[<++++>-]<+++++.>+++++[<----->-]<---------.>+++++++[<------->-]<.-.>+++++++++[<+++++++++>-]<+++++++++++++++.+++++.++++++.>+++++++++[<--------->-]<---.>++++++++[<++++++++>-]<++++.+.>+++[<+++>-]<++.++++.>+++[<--->-]<---.>++++++++[<-------->-]<--------.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++[<++++>-]<.----.>+++[<--->-]<---.>++++++++[<++++++++>-]<++++++++++++.-------.+++++++++.>++++++++[<-------->-]<--------------.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++[<++++>-]<.----.>+++[<--->-]<---.>++++++++[<++++++++>-]<++++++++++++++++.++++.--.>+++++++++[<--------->-]<-.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++[<++++>-]<.>+++[<+++>-]<++.>+++++++[<------->-]<.-.>+++++++[<+++++++>-]<++++++++++++.+++.+++.-------.>++++++[<------>-]<-.++++++++++.>+++++++[<+++++++>-]<+++++++++++.>++++++++[<-------->-]<------.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++++++[<++++++++>-]<++++++.+++++++++.+.>+++[<--->-]<--.+++++++++.>++++++++[<-------->-]<------.>+++++++[<+++++++>-]<++++++++.>++++[<++++>-]<+.>+++[<--->-]<--.>+++[<+++>-]<++++++.>+++++[<----->-]<--.>++++++[<------>-]<------.>++++++[<++++++>-]<++++++++.>+++++++[<------->-]<.>+++[<--->-]<---.++.>++++++++[<++++++++>-]<++++++++++++++++.>++++++++[<-------->-]<----------------.+++++++.>++++[<++++>-]<++.>+++++++[<------->-]<.-.>+++++++++[<+++++++++>-]<+++++++++++++++.---.>+++++++[<------->-]<-------------.>+++++++[<+++++++>-]<+++++++++++++.>++++++++[<-------->-]<------.>+++++[<+++++>-]<++++..>+++++[<----->-]<----.>++++[<++++>-]<.-------.---------.>+++++++++[<+++++++++>-]<++++++++++.>+++++++++[<--------->-]<----------.>++++++++[<++++++++>-]<++++++++++++++++.++.---------.+++++.++++++.>+++[<--->-]<-----.>+++++++[<------->-]<-------------.------.>++++++[<++++++>-]<+++.>++++++[<++++++>-]<+.++++++++.>++++[<---->-]<-----.>+++[<+++>-]<++.---.-----.>++++++++[<-------->-]<----.>++++++++[<++++++++>-]<++++++.+++.+++.-------.+++++++++.>+++[<--->-]<----.>+++[<+++>-]<+++.--------.>++++++[<------>-]<-------.>+++++[<----->-]<-.+++++.>++++++++[<++++++++>-]<++++++++++++++.>++++[<---->-]<-------.>++++[<++++>-]<++.>++++++++[<-------->-]<------------.++++++++++.>+++[<--->-]<---.>++++++++[<++++++++>-]<+.>++++[<++++>-]<+.>+++[<--->-]<--.>+++[<+++>-]<++++++.>+++++[<----->-]<--.>++++++[<------>-]<------.>++++++[<++++++>-]<++++++++.>+++++++[<------->-]<---.>++++[<++++>-]<++.>+++++[<----->-]<--.>+++++++++[<+++++++++>-]<+.>+++[<--->-]<----.>+++[<+++>-]<++++++.+.---.----.>++++++++[<-------->-]<--------------.>++++[<++++>-]<.>+++[<+++>-]<++.>+++++[<----->-]<--.>+++++++++[<+++++++++>-]<++++++++++++.>++++++++++[<---------->-]<---------------.-.>+++++++++[<+++++++++>-]<+++++++++++++++.+++++.++++++.>+++++++++[<--------->-]<---.>++++++++[<++++++++>-]<+++.>++++[<++++>-]<++.---..>+++++++[<------->-]<------.>+++++[<----->-]<--.>+++++++++[<+++++++++>-]<++++++.>+++[<--->-]<------.+.+++.-------.>+++++++[<------->-]<------------..>+++++++[<+++++++>-]<++++++++++.>++++[<++++>-]<++.---..>+++++++++[<--------->-]<-.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++++++[<++++++++>-]<++++++.+.--.>+++[<+++>-]<++++++.>++++[<---->-]<-.>+++++++[<------->-]<----------.>+++++++[<+++++++>-]<+++++++++++++.>+++++++[<------->-]<------------..---------.+.>+++++[<+++++>-]<+++.>+++++[<----->-]<----.>++++++[<++++++>-]<+.++++++++++.---------.>+++++[<----->-]<----.---------..>++++[<---->-]<------.-.>++++++++++[<++++++++++>-]<++++++++++++++.>++++++++++[<---------->-]<-------------.-..>++++++++++[<++++++++++>-]<++++++.++++.>+++[<--->-]<-----.>+++[<+++>-]<++.>++++[<---->-]<-.+++++.>++++++++[<-------->-]<..>+++++++[<+++++++>-]<++++++++++.+++++.-------.>++++[<++++>-]<+.>++++++++[<-------->-]<---------.---------.>++++++++[<++++++++>-]<+++.>++++[<++++>-]<++.---..>++++++++[<-------->-]<---------.>+++++[<----->-]<------.-..>++++++++++[<++++++++++>-]<++++++++++++++.>++++++++++[<---------->-]<-------------.-..>++++[<++++>-]<+++++++....>++++++++[<++++++++>-]<+++.--.>++++[<++++>-]<++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.+++++++.++++.----.>++++[<++++>-]<+++.>+++++[<----->-]<-...>+++[<+++>-]<++..---.>++++++++[<++++++++>-]<+++++.--------.++++++++.>++++[<---->-]<--.>++++[<++++>-]<+++++.++++.--.>++++[<---->-]<-----.>+++++++[<------->-]<---.>++++[<++++>-]<++.>+++++[<----->-]<--.......................>++++++++[<++++++++>-]<++.>++++[<++++>-]<.>+++[<--->-]<----.----.++++++++++.>++++++[<------>-]<------------.>+++++++[<------->-]<.-..>++++[<++++>-]<+++++++....>++++++++[<++++++++>-]<+++.--.>++++[<++++>-]<++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.+++++++.++++++.------.>++++[<++++>-]<+++.>+++++[<----->-]<-...>+++[<+++>-]<++++..-----.>++++++++[<++++++++>-]<+++++.--------.++++++++.>++++[<---->-]<--.>++++[<++++>-]<+++++.++++.--.>++++[<---->-]<-----.>+++++++[<------->-]<---.>++++[<++++>-]<++.>+++++[<----->-]<--.......................>++++++++[<++++++++>-]<++.>++++[<++++>-]<.>+++[<--->-]<----.----.++++++++++.>++++++[<------>-]<------------.>+++++++[<------->-]<.-..>++++[<++++>-]<+++++++....>++++++++[<++++++++>-]<+++.--.>++++[<++++>-]<++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.+++++++.>++++[<++++>-]<+++++.>++++[<---->-]<-----.>++++[<++++>-]<+++.>+++++[<----->-]<-...>++++++++[<++++++++>-]<+++++++++.---.>+++++++[<------->-]<-------------.>++++++++[<++++++++>-]<++++++++.++++.--.>+++++++++[<--------->-]<-.>+++++[<+++++>-]<+++++.>+++++[<----->-]<-----.>++++[<++++>-]<.-------.---------.>+++[<+++>-]<++++..>++++++++[<++++++++>-]<+++.++++.--.>+++++++[<------->-]<------.>+++++[<----->-]<--..................>++++++++[<++++++++>-]<++.>++++[<++++>-]<.>+++[<--->-]<----.----.++++++++++.>++++++[<------>-]<------------.>+++++++[<------->-]<.-..>++++[<++++>-]<+++++++....>++++++++[<++++++++>-]<+++.--.>++++[<++++>-]<++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.+++++++.>++++[<++++>-]<+++++++.>++++[<---->-]<-------.>++++[<++++>-]<+++.>+++++[<----->-]<-...>++++++++[<++++++++>-]<+++++++++.---.>+++++++[<------->-]<-------------.>++++++++[<++++++++>-]<++++++++.++++.--.>+++++++++[<--------->-]<-.>+++++[<+++++>-]<+++.>+++++[<----->-]<---.>++++++[<++++++>-]<+++++++++.--------.++++++++.>++++[<++++>-]<++.>+++[<--->-]<---.----------.>++++[<++++>-]<+.>++++[<---->-]<-----.>+++++[<----->-]<---.---------.>+++[<+++>-]<++..>++++++++[<++++++++>-]<+++++.++++.--.>+++++++[<------->-]<------.>+++++[<----->-]<--...........>++++++++[<++++++++>-]<++.>++++[<++++>-]<.>+++[<--->-]<----.----.++++++++++.>++++++[<------>-]<------------.>+++++++[<------->-]<.-..>++++[<++++>-]<+++++++....>++++++++[<++++++++>-]<+++.--.>++++[<++++>-]<++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.+++++++.+++++++.-------.>++++[<++++>-]<+++.>+++++[<----->-]<-...>++++++++[<++++++++>-]<++++++++++++++++.+++++.-.>++++[<---->-]<-.+++++.-------.>++++[<++++>-]<+.>++++++++[<-------->-]<----------.>++++++++[<++++++++>-]<+++++.--------.++++++++.>++++[<---->-]<--.>++++[<++++>-]<+++++.++++.--.>++++[<---->-]<-----.>+++++++[<------->-]<---.>++++[<++++>-]<++.>+++++[<----->-]<--..................>++++++++[<++++++++>-]<++.>++++[<++++>-]<.>+++[<--->-]<----.----.++++++++++.>++++++[<------>-]<------------.>+++++++[<------->-]<.-..>++++[<++++>-]<+++++++....>++++++++[<++++++++>-]<+++.--.>++++[<++++>-]<++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.+++++++.+++++.-----.>++++[<++++>-]<+++.>+++++[<----->-]<-...>++++++++[<++++++++>-]<+++++++++++++.--------.++++++++.>++++[<---->-]<--.>++++[<++++>-]<+++++.++++.--.>++++[<---->-]<-----.>+++++++[<------->-]<------------.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++++++[<++++++++>-]<+++++++.--.>+++[<+++>-]<++++++.>++++[<---->-]<-.+++++.-------.>++++[<++++>-]<+.>++++++++[<-------->-]<----------.+.>++++[<++++>-]<++.>++++++[<++++++>-]<++++++++.--.>+++[<+++>-]<++++++.>++++[<---->-]<-.+++++.-------.>++++[<++++>-]<+.>++++++++[<-------->-]<----------.+.>++++[<++++>-]<++.>+++++[<----->-]<--.....>++++++++[<++++++++>-]<++.>++++[<++++>-]<.>+++[<--->-]<----.----.++++++++++.>++++++[<------>-]<------------.>+++++++[<------->-]<.-..>++++[<++++>-]<+++++++....>++++++++[<++++++++>-]<+++.--.>++++[<++++>-]<++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.+++++++.>+++++++[<+++++++>-]<+++.>+++++++[<------->-]<---.>++++[<++++>-]<+++.>+++++[<----->-]<-...>++++++++[<++++++++>-]<+++++++++.---.>+++++++[<------->-]<-------------.>++++++++[<++++++++>-]<+++++.--------.++++++++.>++++[<---->-]<--.>++++[<++++>-]<+++++.++++.--.>++++[<---->-]<-----.>+++++++[<------->-]<------------.>+++++[<+++++>-]<++++..>+++++[<----->-]<----.>++++[<++++>-]<.-------.---------.>+++++++++[<+++++++++>-]<++++++++++.>++++++++++[<---------->-]<-------------.-..>++++[<++++>-]<+++++++....................>++++++++[<++++++++>-]<+++++++++.+++++.++++++.>+++++++++[<--------->-]<---.>++++++++[<++++++++>-]<++++.>++++++++[<-------->-]<----.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++[<++++>-]<.----.>+++[<--->-]<---.>++++++++[<++++++++>-]<+++++++++.>++++++++[<-------->-]<---------.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++++++[<++++++++>-]<++++++.>+++[<+++>-]<+++++.>+++[<--->-]<------.+++++++..>++++++++[<-------->-]<----.>+++++++[<+++++++>-]<+++++++++++++.>+++++++[<------->-]<------------.>++++[<++++>-]<++.>+++++[<----->-]<--.>++++++++[<++++++++>-]<+++.+++++.-------.>++++[<++++>-]<+.>+++++++++[<--------->-]<-.>++++++++[<++++++++>-]<+++.>++++++++[<-------->-]<---.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.+++++++.>+++++++[<+++++++>-]<++++.>++++++[<------>-]<--------.---------.>++++[<++++>-]<++++.>+++++++[<------->-]<.-..>++++[<++++>-]<+++++++....................>+++++++++[<+++++++++>-]<++++++.>+++[<--->-]<------.+.+++.-------.>+++++++[<------->-]<------------.-------.>++++++++[<++++++++>-]<+++++.-.++++++++++.---------.>+++++++[<------->-]<-------------.>+++++++[<+++++++>-]<+++++++++++++.>+++++++[<------->-]<------------..---------.>+++++++++[<+++++++++>-]<++++++++++.>+++++++++[<--------->-]<----------.>+++[<+++>-]<++..>+++++++[<+++++++>-]<+++++++++++++.>++++++[<------>-]<----------.>+++++[<----->-]<--.>++++++++[<++++++++>-]<+++.>++++++++[<-------->-]<---.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++++++[<++++++++>-]<++++++.+.--.>+++[<+++>-]<++++++.>++++[<---->-]<-.>+++++++[<------->-]<----------.>+++++++[<+++++++>-]<+++++++++++++.>+++++++[<------->-]<------------.>++++[<++++>-]<++.>+++++[<----->-]<--.>++++++++[<++++++++>-]<+++++++++.---.>+++++++[<------->-]<-------------.>+++++++[<+++++++>-]<++++++++++.>++++++++[<-------->-]<---.>+++++[<+++++>-]<++++..>+++++[<----->-]<----.+++++++.>+++++++[<+++++++>-]<+++.>+++++++[<------->-]<---.++.---------.>+++++++++[<+++++++++>-]<++++++++++.>+++++++++[<--------->-]<----------.>+++[<+++>-]<++..>+++++++[<+++++++>-]<++++++++.>++++++[<------>-]<-----.>+++++[<----->-]<--.>+++++++++[<+++++++++>-]<++++++++++++.>+++++++++[<--------->-]<------------.>++++++++[<++++++++>-]<+++++.+++++++.+++++++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.>++++++++[<++++++++>-]<+++++++++.---.>+++++++[<------->-]<-------------.>+++++++[<+++++++>-]<++++++++++.>++++++++[<-------->-]<---.>+++++[<+++++>-]<++++..>+++++[<----->-]<----.+++++++.>+++++++[<+++++++>-]<+++++.>+++++++[<------->-]<-----.++.---------.>+++++++++[<+++++++++>-]<++++++++++.>+++++++++[<--------->-]<----------.>++++++++[<++++++++>-]<+++++++++.---.>+++++++[<------->-]<-------------.>+++++++[<+++++++>-]<+++++++++++.>++++++++[<-------->-]<----.>+++++[<+++++>-]<++++..>+++++[<----->-]<----.>++++[<++++>-]<.-------.---------.>+++++++++[<+++++++++>-]<++++++++++.>+++++++++[<--------->-]<----------.>++++++++[<++++++++>-]<++++++.>+++[<+++>-]<++++.>+++[<--->-]<-----..++++++.>++++++++[<-------->-]<---.>+++++++[<+++++++>-]<+++++++++++++.>+++++++[<------->-]<---------.>+++[<--->-]<---.>++++++++[<++++++++>-]<+++++++++.>+++++++[<------->-]<------------.>+++[<--->-]<---.>+++++++[<+++++++>-]<++.>+++[<--->-]<-----..++++++.>++++[<++++>-]<++++.>+++[<--->-]<---.>+++[<--->-]<-----.>+++[<+++>-]<++++++.>++++++[<------>-]<-------.>++++[<++++>-]<++.>+++++[<----->-]<--.>++++++++[<++++++++>-]<++.>++++[<++++>-]<.>+++[<--->-]<----.----.++++++++++.>++++++[<------>-]<------------.>+++++[<----->-]<--.>+++++++++[<+++++++++>-]<++++++++++++.>+++++++++[<--------->-]<------------.>++++++++[<++++++++>-]<+++++.+++++++.+++++++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.>+++++++++[<+++++++++>-]<++++++++++.>+++++++++[<--------->-]<----------.>+++[<+++>-]<++++..>+++++++[<+++++++>-]<++++++.>++++++[<------>-]<-----.>+++++[<----->-]<--.>+++++++++[<+++++++++>-]<++++++++++++.>+++++++++[<--------->-]<------------.>+++++++++[<+++++++++>-]<++++++++++++.>+++++++++[<--------->-]<------------.>+++++++++[<+++++++++>-]<++++++++++++.>++++++++++[<---------->-]<---------------.-..>++++[<++++>-]<+++++++................>+++++++++[<+++++++++>-]<++++++++++++.>+++++++++[<--------->-]<------------.>++++++++[<++++++++>-]<+++++.+++++++.+++++++.>+++[<--->-]<-----.>+++++++++[<--------->-]<----------.-..>++++[<++++>-]<+++++++....................>++++++++[<++++++++>-]<++++++++++++.---.+++++.----------.+.>++++[<++++>-]<+++.>+++++[<----->-]<----.+++++++++.+.>+++[<+++>-]<++.++++.>+++[<--->-]<---.>+++++++[<------->-]<------------..>+++++++[<+++++++>-]<+.>+++++++[<------->-]<------------.>+++++[<+++++>-]<++++.>+++++[<----->-]<----.>++++++++[<++++++++>-]<++++++.>+++[<+++>-]<+++++.>+++[<--->-]<------.+++++++..>++++++++[<-------->-]<----.>+++++++[<+++++++>-]<+++++++++++++.>+++++++[<------->-]<------------.>++++[<++++>-]<++.>+++++++[<------->-]<.-..>++++[<++++>-]<+++++++................>++++++++[<++++++++>-]<++.>++++[<++++>-]<.>+++[<--->-]<----.----.++++++++++.>++++++[<------>-]<------------.>+++++++[<------->-]<.-..>++++[<++++>-]<+++++++....>++++++++[<++++++++>-]<+++.--.>++++[<++++>-]<++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.+++++++.>+++++++[<+++++++>-]<+++++.>+++++++[<------->-]<-----.>++++[<++++>-]<+++.>+++++[<----->-]<-...>++++++++[<++++++++>-]<+++++++++.---.>+++++++[<------->-]<-------------.>+++++++[<+++++++>-]<+++++++++++.+.>+++[<+++>-]<++.++++.>+++[<--->-]<---.>++++++++[<-------->-]<--------.>+++++[<+++++>-]<+++++.>+++++[<----->-]<-----.>++++[<++++>-]<.>++++[<---->-]<.++++++..------.>++++++++[<++++++++>-]<+++++++++++++.--------.++++++++.>++++[<---->-]<--.>++++[<++++>-]<+++++.++++.--.>++++[<---->-]<-----.>+++++++[<------->-]<------------.>+++++[<+++++>-]<++++..>+++++[<----->-]<----.>++++[<++++>-]<.-------.---------.>+++++++++[<+++++++++>-]<++++++++++.++.>+++++++++[<--------->-]<------------.>++++++++[<++++++++>-]<+++++.+++++++.+++++++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.>+++++++++[<+++++++++>-]<++++++++++.>+++++++++[<--------->-]<----------.>++++++++[<++++++++>-]<++++++.>+++[<+++>-]<++++.>+++[<--->-]<-----..++++++.>++++++++[<-------->-]<---.>+++++++[<+++++++>-]<+++++++++++++.>+++++++[<------->-]<---------.>+++[<--->-]<---.>++++++++[<++++++++>-]<++++++++++++.---.+++++.----------.+.>++++[<++++>-]<+++.>+++++[<----->-]<----.+++++++++.+.>+++[<+++>-]<++.++++.>+++[<--->-]<---.>++++++++[<-------->-]<--------.>+++[<+++>-]<++++.>+++[<--->-]<----.>++++[<++++>-]<+.>++++++[<++++++>-]<++++++++.>+++++++[<------->-]<.>+++[<--->-]<---.>+++++++[<+++++++>-]<++.>+++[<--->-]<-----..++++++.>++++[<++++>-]<++++.>+++[<--->-]<---.>+++[<--->-]<-----.>+++[<+++>-]<++++++.>++++++[<------>-]<-------.>++++[<++++>-]<++.>+++++[<----->-]<--.>+++++++++[<+++++++++>-]<++++++++++++.>+++++++++[<--------->-]<------------.>++++++++[<++++++++>-]<++.>++++[<++++>-]<.>+++[<--->-]<----.----.++++++++++.>++++++[<------>-]<------------.>+++++++[<------->-]<.-..>++++[<++++>-]<+++++++....>++++++++[<++++++++>-]<++++.+.+.-----.>++++[<++++>-]<++++.---------.++++++++.>+++++++[<------->-]<---------.>+++++[<----->-]<-.>++++++++[<++++++++>-]<++.>++++[<++++>-]<.>+++[<--->-]<----.----.++++++++++.>++++++[<------>-]<------------.>+++++++[<------->-]<.-..>++++++++++[<++++++++++>-]<++++++++++++++++.>++++++++[<-------->-]<--.>+++++++[<------->-]<.-.>++++++++++[<++++++++++>-]<++++++++++++++++.>++++++++++[<---------->-]<---------------.-.>+++++++++[<+++++++++>-]<++++++++++++.---.+++++++++.+++.++++.>+++[<--->-]<-----.>+++++++[<------->-]<------------.>+++++++[<+++++++>-]<+++++++++++++.>+++++++[<------->-]<------------.>++++[<++++>-]<++.>+++++++[<------->-]<.-.>++++++++++[<++++++++++>-]<+++.++.---------.+++++.++++++.>+++[<--->-]<-----.>+++++++[<------->-]<-------------.------.>+++++++[<+++++++>-]<+++++++++.>++++[<++++>-]<++.>++++++++[<-------->-]<------------.+++++++.>++++[<++++>-]<++.>+++++++[<------->-]<.>++++++++++[<++++++++++>-]<+++++++++++++++. Translate that RE: Python BF Interpreter - mort96 - 10-28-2013 Code: {\rtf1\ansi\ansicpg1252 That's a lot of \s ._. Anyways, >+++++++++[<+++++++++>-]<+++.>+++++[<+++++>-]<++++++++++.--------.>++++++++[<-------->-]<---------------.>++++++++[<++++++++>-]<+++.--.>+++[<+++>-]<++++.>++++++++[<-------->-]<--------------.>++++++++[<++++++++>-]<++++++++++++++++.----.>+++[<--->-]<--.>++++[<++++>-]<++++++++.>+++++++++[<--------->-]<--------.>+++++++++[<+++++++++>-]<+++.>+++[<--->-]<---.-------.>++++[<++++>-]<+++.>+++++++++[<--------->-]<---.>++++++++[<++++++++>-]<+++++++.------.>+++[<+++>-]<+++.--------.>+++++++[<------->-]<------. RE: Python BF Interpreter - Iceglade - 10-28-2013 >+++++++++[<+++++++++>-]<++++++.>+++[<+++>-]<+++++.+++++++.---------.>+++[<+++>-]<+++.--.--------.>++++++++[<-------->-]<-----.>+++++++++[<+++++++++>-]<+++.-----.>++++++++[<-------->-]<---------------.>+++++++++[<+++++++++>-]<+++.>+++[<--->-]<---.---.>++++++++[<-------->-]<-----.>++++++++[<++++++++>-]<+++++++++++++++.---------..+++.------.++++++.--------.>+++[<+++>-]<++.>++++++++[<-------->-]<------------.>+++++[<+++++>-]<+++++++++.++++.>++++++[<------>-]<--.>++++++++[<++++++++>-]<+++.+++++.-------.>++++[<++++>-]<+++.>+++++++++[<--------->-]<---.>+++++++++[<+++++++++>-]<+++.>+++[<--->-]<---.++++++++++.>+++[<--->-]<----.----.+++.>+++++++[<------->-]<-----.>+++[<--->-]<-----.>++++++[<++++++>-]<++++++++++++.>+++++[<+++++>-]<+++.-------.----.>++++[<++++>-]<++.>+++[<--->-]<-----.>++++++++[<-------->-]<-----.>++++++++[<++++++++>-]<+++++.+++++++++.----.+++++.++++++++++.>++++++++[<-------->-]<-----------. RE: Python BF Interpreter - EDevil - 10-28-2013 RE: Python BF Interpreter - mort96 - 10-28-2013 Code: >++++++++[<++++++++>-]<+++++++++.>++++++[<------>-]<-----.>+++++++++[<+++++++++>-]<++++++.>+++[<--->-]<-----.+++..>++++++++[<-------->-]<------------.>++++++++[<++++++++>-]<+++++.+++++++++.----.+++++.++++++++++.>+++++++++[<--------->-]<--------.>++++++++[<++++++++>-]<+++++++++++++.>+++[<+++>-]<+++.>+++++++++[<--------->-]<--------.>+++++++++[<+++++++++>-]<++.+.>++++[<---->-]<---.>++++[<++++>-]<++++++++.>+++++++++[<--------->-]<--------.>++++++++[<++++++++>-]<++++++++.---.>+++[<+++>-]<++++.>+++[<--->-]<----.>+++++++[<------->-]<--------.>+++[<--->-]<---.>+++++++++[<+++++++++>-]<+++.>+++[<--->-]<---.-------.>+++[<+++>-]<++++.---.>++++++++[<-------->-]<-----------.>+++++++++[<+++++++++>-]<++++++++.----------.++++++.>+++++++++[<--------->-]<----.>+++++++++[<+++++++++>-]<+++++.>++++[<---->-]<-.>+++[<+++>-]<++++.+++++++.>+++++++++[<--------->-]<--------.>++++++++[<++++++++>-]<+++++++++++++.++++++++.>++++[<---->-]<--.+++++.>+++++++[<------->-]<---------. Btw, it could be useful to have a look at my brainfuck interpreter and text-to-bf thing :3 |