ElDwarf / TuringMaSim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TuringMaSim

Is a simple turing machine simulator.

How Install

  1. Install tk
    $ sudo apt-get install python3-tk graphviz
  2. Create virualenv
    $ virtualenv venv -p python3
  3. Activate virutalenv
    $ source venv/bin/activate
  4. Install requirement.txt
    $ pip install -r requirement.txt
  5. Go to src
    $ cd src
  6. run main.py
    $ python main.py

Run Docker

  1. Build Docker Image
    $ docker build . -t turingmasim:latest
  2. Set-up
    $ xhost +local:docker
  3. Run TuringMaSim
    $ docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix turingmasim

How Use

WORK IN PROGRESS

About

License:MIT License


Languages

Language:Python 98.5%Language:Dockerfile 1.5%