Last active
October 19, 2019 22:15
-
-
Save cogumbreiro/a4c7e6e42a02e0f5ca7d1c70268134a6 to your computer and use it in GitHub Desktop.
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
name: Example 2 | |
source code: | | |
input: '0011' | |
blank: ' ' | |
start state: S | |
table: | |
S: | |
0: {write: 'x', R: B} | |
'y': {write: 'y', R: D} | |
' ': {write: ' ', L: accept} | |
B: | |
0: {write: '0', R: B} | |
'y': {write: 'y', R: B} | |
'1': {write: 'y', L: C} | |
C: | |
0: {write: '0', L: C} | |
'y': {write: 'y', L: C} | |
'x': {write: 'x', R: S} | |
D: | |
'y': {write: 'y', R: D} | |
' ': {write: ' ', L: accept} | |
accept: | |
positions: | |
S: {x: 335.65, y: 297.07} | |
B: {x: 139.85, y: 298.91} | |
C: {x: 245.13, y: 193.27, fixed: false} | |
D: {x: 436.38, y: 191.53, fixed: false} | |
accept: {x: 527.4, y: 298.8} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run this TM: https://turingmachine.io?import-gist=a4c7e6e42a02e0f5ca7d1c70268134a6