Turing machine multiplier q01x01y / * qF1xy Will show also how complicated tasks can be split up among modules. To begin with, a 0 will be added to the end of the input. The tape head will return to the leftmost 1. q01x01y / * q21x01y0 Then a y-block will be copied for each 1 in 1x; this can be viewed as a copy module controlled by an outer loop module.
© Copyright 2024 Paperzz