Open Zomis opened 8 years ago
For this you'd need to know a couple of things:
,
what was the value of the cell before the operation?[
or ]
before the command, how many times has the loop been performed? Was it ever performed? Should we go backwards to before [
or before ]
?The other commands are pretty clear how they should be reversed.
If at all possible in BF, it would be useful to "step backwards" while debugging so that you can easier find where things go wrong when they go wrong