Few years back I’ve been working on a Turing machine implementation in PHP and Javascript. Try out the javascript animated simulation first and then continue reading.
Turing machine animated simulation
START SIMULATION (press F5 to restart) Delay (1/speed): 30 ms of delay More delay (slower) | Less delay (faster)
The Turing machine definition:
This file describes the states, transitions and the alphabet of the turing machine:
https://invision-web.net/turing/definition.txt
The state diagram
Project documentation (Croatian language)
https://invision-web.net/turing/UTRZ-2010-ZAD2029-Kristijan-Burnik.pdf
—
Turing machine simulation in Javascript
https://invision-web.net/turing/turing.html
Turing machine simulation in PHP
https://invision-web.net/turing/turing.php
Source code coming soon!
Hope you’ll enjoy it