Analyse and optimise boolean expressions. Built using flex and yacc.
- Flex
- GNU Bison
- GCC
$ ./balg
Usage: ./balg [OPERATION]... [EXPRESSION]
Analyse and optimise boolean expressions
Operations (Completed in order):
-t, --truth-table Create a truth table from the expression specified
-o, --optimise Optimise and output the expression provided
If no operations are specified, a truth table is generated by default
The expression provided should be a string containing the following:
Vars Characters from a-z
! Not operator
. And operator
-> Logical implication
Bash expansion will interfere with a number of expressions,
when specifying from a shell, surround with single quotes.