Skip to content

Instantly share code, notes, and snippets.

@cogumbreiro
Last active October 16, 2019 21:15
Show Gist options
  • Save cogumbreiro/0f6c2230ba4ec35118026352b977170d to your computer and use it in GitHub Desktop.
Save cogumbreiro/0f6c2230ba4ec35118026352b977170d to your computer and use it in GitHub Desktop.
name: Example 1
source code: |
input: '01110'
blank: ' '
start state: S
table:
S:
0: {write: 'x', R: B}
B:
1: {write: 'y', R: B}
0: {write: 'x', R: C}
C:
' ': {write: ' ', R: accept}
accept:
positions:
S: {x: 156.8, y: 320.74}
B: {x: 328.4, y: 272.18, fixed: false}
C: {x: 482.53, y: 243.37, fixed: false}
accept: {x: 661.54, y: 218.14}
editor contents: |
input: '01110'
blank: ' '
start state: S
table:
S:
0: {write: 'x', R: B}
B:
1: {write: 'y', R: B}
0: {write: 'x', R: C}
C:
' ': {write: ' ', R: accept}
accept:
@cogumbreiro
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment