This Python program simplifies boolean expressions using the SymPy library and provides a user-friendly graphical interface using Tkinter.
- Boolean Expression Simplification: Utilizes SymPy to simplify boolean expressions, reducing them to their simplest form.
- Interactive GUI: Provides a graphical interface using Tkinter, allowing users to input boolean expressions and instantly see the simplified results.
Prerequisites
Make sure you have Python installed on your system. You can download it from python.org.
Installation
- Clone this repository to your local machine:
git clone https://github.com/NaldCapuno/Boolean-Expression-Parser.git
- Open the repository folder and install the required dependencies:
pip install -r requirements.txt
Usage
Run the Parser.py script located in the BoolExpParser directory:
python BoolExpParser/Parser.py
This will launch the Tkinter GUI. Enter your boolean expression in the input field and click the "Simplify" button to see the simplified result.
For example, if you input the expression (A & B) | (A & ~B), the program will simplify it to just A.
Screenshot