A language for easy and efficient modeling of Turing machines

被引:6
|
作者
Chakraborty, Pinaki [1 ]
机构
[1] Jawaharlal Nehru Univ, Sch Comp & Syst Sci, New Delhi 110067, India
关键词
turing machine; compiler; interpreter; simulation;
D O I
10.1080/10002007088537484
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
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.
引用
收藏
页码:867 / 871
页数:5
相关论文
共 50 条