Turing Machine Emulator

Write your code in the following text area. The syntax is:
CurrentState,TapeInput,ReplaceWith,NewState,MoveDirection
- No spaces allowed. Starting state is q0 and the final state is final.
- MoveDirection can be l or r.
- Code is case-sensitive.
- The following sample code is to accept any string in the format 01*0. After creating the tape, you have to fill some cells with a suitable string to get it working.

You can now edit the tape values and press the Play or Single Step button.