/// <summary> /// Creates and inits an interpreter instance. /// </summary> /// <param name="program">A brainfuck program</param> /// <returns>the inited interpreter instance</returns> private Interpreter.Interpreter initInterpreter(string program) { Interpreter.Interpreter interpreter = new Interpreter.Interpreter(SharedDefinies.FLAG_WO_GUI | SharedDefinies.FLAG_STOP_ON_ERROR); interpreter.Init("", program, DisplayMode.NO_DISPLAY); return interpreter; }