Skip to content

Instantly share code, notes, and snippets.

@chadrehm
Created January 29, 2021 16:54
Show Gist options
  • Select an option

  • Save chadrehm/a0194a371bbf3993a13bb8ba096c85ed to your computer and use it in GitHub Desktop.

Select an option

Save chadrehm/a0194a371bbf3993a13bb8ba096c85ed to your computer and use it in GitHub Desktop.
Turing Machine test files
q1
qAccept
qReject
0,1
q1 (0,x,R) q2
q1 (1,x,R) q3
q1 (#,#,R) q8
q2 (0,0,R) q2
q2 (1,1,R) q2
q2 (#,#,R) q4
q4 (x,x,R) q4
q4 (0,x,L) q6
q3 (0,0,R) q3
q3 (1,1,R) q3
q3 (#,#,R) q5
q5 (x,x,R) q5
q5 (1,x,L) q6
q6 (0,0,L) q6
q6 (1,1,L) q6
q6 (x,x,L) q6
q6 (#,#,L) q7
q7 (1,1,L) q7
q7 (0,0,L) q7
q7 (x,x,R) q1
q8 (x,x,R) q8
q8 ( , ,R) qAccept
q1
qAccept
qReject
0,1
q1 (0, ,R) q2
q1 ( , ,R) qReject
q1 (x,x,R) qReject
q2 ( , ,R) qAccept
q2 (x,x,R) q2
q2 (0,x,R) q3
q3 (x,x,R) q3
q3 (0,0,R) q4
q3 ( , ,L) q5
q4 (0,x,R) q3
q4 (x,x,R) q4
q4 ( , ,R) qReject
q5 (0,0,L) q5
q5 (x,x,L) q5
q5 ( , ,R) q2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment