brainfuck icon indicating copy to clipboard operation
brainfuck copied to clipboard

Differentiate Program Counter Hitting End from Out of Bounds

Open nixpulvis opened this issue 9 years ago • 0 comments

Right now we simply return an Option for a program's get method. This allows us to tell when we have an instruction, but it doesn't let us determine if the requested value is out of bounds because we are done with the program, or out of bounds because we did something bad in the interpreter. We should be able to distinguish between these from the perspective of the program's API.

nixpulvis avatar Dec 27 '15 17:12 nixpulvis