Skip to content

Instantly share code, notes, and snippets.

@gilamor
Created September 16, 2020 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilamor/30dfbf686107aba3894dc61efc66bb27 to your computer and use it in GitHub Desktop.
Save gilamor/30dfbf686107aba3894dc61efc66bb27 to your computer and use it in GitHub Desktop.
name: 1star
source code: |
input: '1111' # try epsilon, 1110
blank: '_'
# TM
start state: q0
table:
q0:
'_': {write: '_', R: accept}
'0': {write: '0', R: reject}
'1': {write: '1', R: q0}
accept:
reject:
positions:
q0: {x: 265.21, y: 221.05}
accept: {x: 380.82, y: 269.59}
reject: {x: 278.86, y: 345.86}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment