Skip to content

Resolve "Rework show for State"

Korbinian Meier requested to merge 36-rework-show-for-state into main

Closes #36 (closed)

First approach to implementing functions which show a snapshot or a state.

Context
Nate and I agreed to create a history when executing the abstract machine. Therefore the main loop adds a snapshot, consisting of the current state and last executed instruction, tho the history after each instruction.

As of now I didn't change the Show instance of State since I didn't come up with a feasible solution for incorporating the last executed instruction into its output.

Merge request reports

Loading