Open Zomis opened 9 years ago
Possibly use a BrainfuckFactory
that can create a BrainfuckRunner
. Currently, a BrainfuckRunner
is an instance of a running Brainfuck program. A running Brainfuck program only has one source of user input.
A BrainfuckFactory
could also store the code converter, and the Groovy context.
Or would a BrainfuckFactory
be a bit over-engineering?
From http://codereview.stackexchange.com/a/61654/31562