<<Up     Contents

Turing Machine simulator

The C++-program simulates a Turing Machine (TM).
TM is defined by input files : metafile, states file, alphabet file, transition file, input word(s) file(s).
  1. Each row of metafile contains data related to some Turing machine (number of tapes, names of states file, alphabet file, transition file, input word(s) file(s)).
  2. States file contains list of initial, halting and internal states.
  3. Alphabet contains list of empty, input and internal symbols.
  4. Each row of transition file contains some transition rule.
  5. Each row of input word file contains input word for some tape.
A Turing Machine example (Recognition of Palindromes) from 'The Design and Analysis of Computer Algorithms [1976]' by A.V.Aho, J.E.Hopcroft, J.D.Ullman (See examples 1.8, 1.9) is used as a demo sample of Turing Machine.

Sources and demo :
http://alexvn.freeservers.com/s1/turing.html
http://sourceforge.net/projects/turing-machine

wikipedia.org dumped 2003-03-17 with terodump