batt

Crates.iobatt
lib.rsbatt
version0.1.0
sourcesrc
created_at2020-06-22 20:57:54.56073
updated_at2020-06-22 20:57:54.56073
descriptionCommand line program to input boolean expressions and print their truth tables.
homepage
repositoryhttps://github.com/GeorgeLS/batt
max_upload_size
id256855
size29,070
George Liontos (GeorgeLS)

documentation

README

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|
------------
Commit count: 3

cargo fmt