5
Views
7
CrossRef citations to date
0
Altmetric
Short Communications

A language for easy and efficient modeling of Turing machines

Pages 867-871 | Accepted 31 Jan 2007, Published online: 10 Aug 2007
 

Abstract

A Turning 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 single-pass complier is developed for TMDL. The scope of code optimization in the complier is examined. An interpreter is used to simulate the exact behavior of the compiled Turning 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.

Additional information

Notes on contributors

Pinaki Chakraborty

E-mail: [email protected]

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.