Please login with GitHub in order to save solutions and appear on the leaderboards.

Brainfuck

Brainfuck is a minimalistic esoteric programming language created by Urban Müller in 1993.

Assuming an infinitely large array, the entire Brainfuck alphabet matches the following pseudocode:

>ptr++
<ptr--
+array[ptr]++
-array[ptr]--
.print(chr(array[ptr]))
[while(array[ptr]){
]}

Write a program that will receive various Brainfuck programs as arguments and execute each program in turn.

arguments holds ARGV, print() to output with a newline, write() to output without a newline.
say and state are available without any import.