Fork me on GitHub
if input equals
then output should be
the tape should move to the

and the next state should be
Instructions for new state
if input equals {{ instruction.precondition }} then return {{ instruction.postcondition }} and move {{ instruction.direction }}; Next state is {{ instruction.successor }}

States

Index Instructions
{{ index }}
if input equals {{ instruction.precondition }} then return {{ instruction.postcondition }} and move {{ instruction.direction }};
Next state is {{ instruction.successor }}
Final State
{{ errorMessage }}
{{ currentState }}