A simple brainfuck interpreter written in Elixir
Run iex -S mix
and then use the module in the following way:
iex> Brainfuck.interpret "++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++."
"Hello World!\n"
iex> Brainfuck.read
Input brainfuck code
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
Hello World!
:ok