Skip to content

This tool is used to convert non-deterministic finite automata (NFA) to deterministic finite automata (DFA) through an interactive and visual interface.

Notifications You must be signed in to change notification settings

quanpersie2001/DFA-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automata - Visual DFA Converter

Overview

Screenshot of the main application interface

This tool is used to convert non-deterministic finite automata (NFA) to deterministic finite automata (DFA) through an interactive and visual interface.

Technology

“fe-tech”

“fe-tech”

Reference

UI/UI I used and custom in nfa-to-dfa

Running Application

  1. Clone repository

    To set up app in your local, first clone this repository:

    git clone https://github.com/quanpersie2001/DFA-Converter
  2. Creat & activate virtual environment

    python -m venv venv

    Active venv

    venv/Scripts/activate
  3. Install dependencies

    pip install -r requirements.txt
  4. Set environment variables

    Edit your environment in .env

  5. Run server

    flask run --port=8000

    Running this script should give an output similar to below:

    * Serving Flask app 'application.py'
    * Debug mode: on
    [2023-05-21 03:19:10] INFO _internal.py line 224: WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
    * Running on http://127.0.0.1:8000
    [2023-05-21 03:19:10] INFO _internal.py line 224: Press CTRL+C to quit
    [2023-05-21 03:19:10] INFO _internal.py line 224:  * Restarting with stat
    [2023-05-21 03:19:11] WARNING _internal.py line 224:  * Debugger is active!
    [2023-05-21 03:19:11] INFO _internal.py line 224:  * Debugger PIN: 139-055-000
    

    You can now navigate to http://localhost:8000 in the browser to view the application.

About

This tool is used to convert non-deterministic finite automata (NFA) to deterministic finite automata (DFA) through an interactive and visual interface.

Topics

Resources

Stars

Watchers

Forks