https://github.com/quanpersie2001/dfa-converter
This tool is used to convert non-deterministic finite automata (NFA) to deterministic finite automata (DFA) through an interactive and visual interface.
https://github.com/quanpersie2001/dfa-converter
automata dfa nfa nfa-to-dfa-conversion nfa2dfa
Last synced: 10 months ago
JSON representation
This tool is used to convert non-deterministic finite automata (NFA) to deterministic finite automata (DFA) through an interactive and visual interface.
- Host: GitHub
- URL: https://github.com/quanpersie2001/dfa-converter
- Owner: quanpersie2001
- Created: 2023-05-20T19:38:11.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-17T16:23:56.000Z (about 3 years ago)
- Last Synced: 2025-04-09T08:37:04.649Z (about 1 year ago)
- Topics: automata, dfa, nfa, nfa-to-dfa-conversion, nfa2dfa
- Language: JavaScript
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automata - Visual DFA Converter
## Overview

This tool is used to convert [non-deterministic finite automata](https://en.wikipedia.org/wiki/Nondeterministic_finite_automaton) (NFA) to [deterministic finite automata](https://en.wikipedia.org/wiki/Deterministic_finite_automaton) (DFA) through an interactive and visual interface.
### Technology


### Reference
UI/UI I used and custom in [nfa-to-dfa](https://github.com/joeylemon/nfa-to-dfa)
## Running Application
1. **Clone repository**
To set up app in your local, first clone this repository:
```shell
git clone https://github.com/quanpersie2001/DFA-Converter
```
1. **Creat & activate virtual environment**
```shell
python -m venv venv
```
Active `venv`
```shell
venv/Scripts/activate
```
2. **Install dependencies**
```shell
pip install -r requirements.txt
```
2. **Set environment variables**
Edit your environment in `.env`
3. **Run server**
```shell
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.