app batt

Command line program to input boolean expressions and print their truth tables

1 unstable release

0.1.0 Jun 22, 2020

GPL-2.0 license

25KB
558 lines

Batt

Batt stands for boolean algebra truth table. This program takes as input an arbitrary boolean algebra expression and prints the truth table for that expression.

i.e

Input:

A && B

Output:

------------
|A|B|A && B|
------------
|0|0|     0|
------------
|0|1|     0|
------------
|1|0|     0|
------------
|1|1|     1|
------------

Dependencies

~5–11MB
~130K SLoC