Skip to content

Differentiate Program Counter Hitting End from Out of Bounds #22

@nixpulvis

Description

@nixpulvis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions