Commit Graph

6 Commits

Author SHA1 Message Date
Aryadev Chavali
3b02b934d8 some cleanup and changes 2026-03-20 03:14:02 +00:00
Aryadev Chavali
7ab65da761 simulation: add mutation (disabled) and fix bf interpreter
So I was using safe subtraction to fix the heads at 0, but BF itself
wraps heads around the tape if they overflow/underflow.  This
completely changes the presentation of the simulation.
2026-03-18 09:33:03 +00:00
Aryadev Chavali
4ba7d3c554 bf: added notes regarding '{' and '<'. 2026-03-17 21:32:59 +00:00
Aryadev Chavali
071fe2ff98 bf: extract loop_end to its own function 2026-03-17 21:32:59 +00:00
Aryadev Chavali
c6433b4429 bf: cond_stack -> loop_stack 2026-03-17 21:25:49 +00:00
Aryadev Chavali
99134c3a32 program_iter -> bf, simulation to be redone 2026-03-16 14:45:30 +00:00