Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rsmuthu/turing-machine-simulation
A simple simulation of a Turing Machine to help my friends understand the working of a Turing Machine
https://github.com/rsmuthu/turing-machine-simulation
python27 simulation turing-machine-simulator
Last synced: about 2 months ago
JSON representation
A simple simulation of a Turing Machine to help my friends understand the working of a Turing Machine
- Host: GitHub
- URL: https://github.com/rsmuthu/turing-machine-simulation
- Owner: RSMuthu
- Created: 2017-05-05T06:04:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-21T09:36:10.000Z (over 7 years ago)
- Last Synced: 2024-01-29T20:47:16.329Z (12 months ago)
- Topics: python27, simulation, turing-machine-simulator
- Language: TeX
- Homepage:
- Size: 7.03 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Turing Machine Simulation
==========================================The Commands used for the Turing Machine Simulation are available in the 'cmd_list.md' file.
### PreRequesite For using Executable file
OS: WindowsThere are two ways in which we can run the Simulation
#### 1. - Execute '.tur' file
_______________________________---> Start command prompt.
---> Navigate to this current directory of 'ReadMe.txt' file
---> Execute the command ".\Simulation\dist\turing_simulation\turing_simulation.exe .tur"
---> Example: to execute sample code from this current directory ".\Simulation\dist\turing_simulation\turing_simulation.exe .\examples\sample0.tur"#### 2. - Execute as a Console
_______________________________---> Assuming that you are in current directory of 'ReadMe.txt' file_name
---> Run the file 'turing_simulation.exe' in the folder ".\Simulation\dist\turing_simulation\" (relative path is ".\Simulation\dist\turing_simulation\turing_simulation.exe")
---> Turing Machine Simulation Console appears.
---> Now you can Run the Turing Machine Commands, just as we run Python commands in the Python Console.### PreRequesite For Working with Source code
OS: any
Python 2.7#### 1 - Executing from Source code
_______________________________---> Clone the 'Source' folder from the project folder.
---> Open the command prompt and navigate to that cloned folder.
---> Run the command "python main.py" (for Turing machine Console) or "python main.py .tur" (for running a '.tur' file)