/PDA-Visualizer

Primary LanguagePythonMIT LicenseMIT

Pushdown automata visualizer on an interactive website

Note: This project was built as a part of Experiential Learning for the course Theory of Computation, and will be no longer developed or maintained once the course/semester ends.

Instructions to run the project on your machine:

  1. Clone the repository and cd into it
git clone https://github.com/gauravhegade/PDA-Visualizer.git
cd PDA-Visualizer
  1. Make a virtual env
python -m venv .env
  1. Source the newly created virtual environment
source .env/bin/activate
  1. Install the prerequisites
pip install -r requirements.txt
  1. Run the app
python app.py
  1. Use either of the given input examples to simulate the PDAs (NPDA or DPDA) in either of the following urls after you run the app:

localhost:8123/npda or localhost:8123/dpda