A Turing Machine Description Language (TMDL) is developed for easy and efficient modeling of Turing machines. TMDL supports formal symbolic representation of Turing machines. The grammar for the language is also provided. Then a fast singlepass compiler is developed for TMDL. The scope of code optimization in the compiler is examined. An interpreter is used to simulate the exact behavior of the compiled Turing machines. A dynamically allocated and resizable array is used to simulate the infinite tape of a Turing machine. The procedure for simulating composite Turing machines is also explained. In this paper, two sample Turing machines have been designed in TMDL and their simulations are discussed. The TMDL can be extended to model the different variations of the standard Turing machine.
机构:
Univ Calif Los Angeles UCLA, Dept Comp Sci, Los Angeles, CA 90095 USAUniv Calif Los Angeles UCLA, Dept Comp Sci, Los Angeles, CA 90095 USA
Burgin, Mark
Schroeder, Marcin J.
论文数: 0引用数: 0
h-index: 0
机构:
Akita Int Univ, Fac Int Liberal Arts, 193-2 Okutsubakidai,Aza Tsubakigawa, Yuwa, Akita 0101211, JapanUniv Calif Los Angeles UCLA, Dept Comp Sci, Los Angeles, CA 90095 USA
机构:
Univ Paris 06, Projet Anal Fonct, Inst Math Jussieu, F-75252 Paris 05, France
Univ Picardie, IUT Oise, F-60107 Creil, FranceCNRS, Equipe Log Math, F-75205 Paris 13, France