Skip to content

Instantly share code, notes, and snippets.

@Frazi1
Created March 8, 2019 13:10
Show Gist options
  • Save Frazi1/90f65a3ca11be975f95ed71954f7fe9c to your computer and use it in GitHub Desktop.
Save Frazi1/90f65a3ca11be975f95ed71954f7fe9c to your computer and use it in GitHub Desktop.
state_machine.turing.yaml
input: '10001011000'
blank: ' '
start state: step_1
table:
step_1:
[1]: {R: step_2}
[0]: {R}
' ': {R: failure}
step_2:
[1]: {R: step_3}
[0]: {R: step_1}
step_3:
[0]: {R: success}
[1]: {R: step_1}
success:
failure:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment