public BrainFuckInterpreter(string code, BrainFuckSettings settings)
 {
     _writer        = new BrainFuckWriter(settings.Writer);
     _reader        = new BrainFuckReader(settings.Reader);
     _syntaxChecked = false;
     State          = new ProgramState(settings.CellSize);
     Code           = code;
 }
Пример #2
0
        public BrainFuckDebugger(string code, BrainFuckSettings settings)
        {
            _interpreter = new BrainFuckInterpreter(code, settings);

            _breakPoints = new List <int>();
        }