It's the mini-project of the Software Design course in Fudan University. The project offer two interfaces, expr_to_truthtable() and truthtable_to_expr().
- expr_to_truthtable() gets the expression as input and output the truthtable.
- truthtable_to_expr() gets the truthtable as input and output the expression.