This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#turing machine that tests if the number of blank spaces between zero is even | |
input: '0 0' | |
blank: ' ' | |
start state: start | |
table: | |
start: | |
0: {write: 0, R: B} | |
B: | |
' ': {write: ' ', R: C} | |
0: {write: 0, R: accept} | |
C: | |
' ': {write: ' ', R: B} | |
accept: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment