Functional "Brainf*ck" VM/interpreter utilizing monadic state.
(requires mtl)
- 8-bit "wrap-around" data memory cells
- Infinite amount of data memory cells in the "right" direction
- Turing complete
Todo. For now, running main interprets and prints the output of the included example program.
++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>----.>++++++++++++++.-----------------.++++++++.+++++.--------.+++++++.------------.+++++++++++++++.
> B 66
> r 114
> a 97
> i 105
> n 110
> f 102
> m 109
> a 97
> p 112
- Live console REPL and read from user specified filepath
- Configurable output and input modes, or allow for other representations of the outputted bytes
- Null char to enable string printing
- Reverse Haskell-to-Brainfuck transpiling
- Malbolge support.