A visual NFA to DFA converter available online for everyone's purposes. This project provides a backend API and a simple frontend interface to validate strings against a predefined regular expression. It is designed to help users understand and work with regular languages.
- Validate strings against a complex regular expression.
- Backend powered by Flask with CORS support.
- Simple frontend interface for user interaction.
- Python 3.7 or higher
pip(Python package manager)
-
Clone the repository:
git clone <repository-url> cd regular-language-converter
-
Install the required Python dependencies:
pip install -r requirements.txt
-
Start the backend server:
make start-backend
-
Open a browser and navigate to
http://127.0.0.1:5000to access the frontend interface.
- Enter a string in the input field on the frontend interface.
- Click the "Validate" button to check if the string matches the predefined regular expression.
- The result will be displayed below the form.
- To install dependencies manually, run:
pip install -r requirements.txt
- To start the backend server without the Makefile, run:
python Backend/app.py
This project is licensed under the MIT License. See the LICENSE file for details.