This web application allows users to input logical expressions and generates corresponding truth tables. Whether you're a student studying logic, a programmer working with boolean expressions, or simply curious about the truth values of complex logical statements, this tool is designed to assist you in visualizing and understanding the logical outcomes.
-
Input Expression: Enter your logical expression in the designated input field.
-
Generate Truth Table: Click the "✓" button to see the corresponding truth table for all possible combinations of input variables.
-
Explore Results: Analyze the generated truth table to understand the outcomes of your logical expression.
- Frontend: HTML, CSS, JavaScript
Contributions are welcome! If you find a bug or have an idea for improvement, please open an issue or submit a pull request.
-
User-Friendly Interface: The clean and intuitive interface makes it easy for users to input logical expressions and interpret the generated truth tables.
-
Dynamic Expression Parsing: The application utilizes advanced parsing algorithms to interpret a wide range of logical expressions, including various operators such as AND, OR, NOT, XOR, and parentheses.
-
Interactive Truth Table: The truth table is dynamically generated based on the provided logical expression, allowing users to interact with and analyze the results.
-
easy to use: You dont have to type AND, OR,NOT,XOR you can simply use the followwing symbols
![instructions on symbols to use](https://private-user-images.githubusercontent.com/95643200/283996465-08cd2f20-4434-484d-a457-b21850fbfcc4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMjM3NDAsIm5iZiI6MTczOTMyMzQ0MCwicGF0aCI6Ii85NTY0MzIwMC8yODM5OTY0NjUtMDhjZDJmMjAtNDQzNC00ODRkLWE0NTctYjIxODUwZmJmY2M0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDAxMjQwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2NTk2ZTc0OTBhYjQ3NjdlYjdkZmYxMDdmNGQwNTkzNzM3ODExYjU3ZGE4ODZlZGIzYWNlYzQzOGVjMzEyMDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.XTzpq0EIrVpKdzI5efHM7opF_obBE9CwtYiS59sDLcs)
- Basic Expression:
A . B . !C
- Complex Expression:
(P . Q) + (R ^ S)
![SCREENSHOT](https://private-user-images.githubusercontent.com/95643200/283996718-c5fa12d4-6955-4302-b090-d67dcff45974.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMjM3NDEsIm5iZiI6MTczOTMyMzQ0MSwicGF0aCI6Ii85NTY0MzIwMC8yODM5OTY3MTgtYzVmYTEyZDQtNjk1NS00MzAyLWIwOTAtZDY3ZGNmZjQ1OTc0LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDAxMjQwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE4ZmYyY2I0YWViNTgwODlmODNmZjgxMmY4NDFjNGUyNzYyZjVkMjUzODg2YzIyYWQxNTg1YTE1M2IyZmZlMGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.mn89_N8A7gFYczYny3XllUI9zsBcI_7hXJQrh1ey4K4)