Sha256: 6b592b8a83e73627952de5936ab49d7ecc90f81746a6aa484c0e6a512b4aba16
Contents?: true
Size: 331 Bytes
Versions: 135
Compression:
Stored size: 331 Bytes
Contents
# vim: ts=2 sw=2 et ft=ruby # Call with two strings of ones on the tape: # $ turing.rb ones_difference.mtm 1111 11 0. right 1, goto: 1 1. right 2, goto: 2 2. cond 1, if: '1', then: 3, else: 4 3. cond 2, if: '1', then: 0, else: 5 4. cond 2, if: '1', then: 5, else: 7 5. write 0, symbol: '1', goto: 6 6. left 0, goto: 0 7. halt
Version data entries
135 entries across 121 versions & 9 rubygems