Universal Turing Machines, Part 9: Fin
The last routine left us with markings on the bits of the current state. Conveniently, it also left us to the left, while the UTM’s Start state has a loop which moves right to check wether or not a symbol is marked on the simulated tape. We’ll simply modify this loop to clean up after ourselves, and viola!
Weighing in at 17 symbols and 58 states we have some python code and output for a simulation of the (01)* Turing machine.