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.
This commit is contained in:
2026-03-18 09:33:03 +00:00
parent eebe39c241
commit 7ab65da761
4 changed files with 54 additions and 40 deletions

View File

@@ -13,7 +13,6 @@
typedef struct
{
u64 a, b;
bf_token memory[SIMULATION_SIZE];
} simulation_t;