A modular C++ tool designed to parse complex boolean expressions and generate complete truth tables. The project utilizes the Shunting-Yard algorithm for postfix conversion, as well as a stack-based evaluator to compute results for all variable combinations.
In other words, it's a truth table generator!
- Variable Detection: Automatically generates all unique variables (A-Z) within an expression.
- Dynamic Table Generation: Calculates
2^nrows for n unique variables. - All boolean operators supported
- Full support for nested parentheses
()
This project requires CMake, Ninja and GNU Makefile to run.
If you've installed, just run
make runand you're set! 👍