An open API service indexing awesome lists of open source software.

https://github.com/andars/truth-table

generates truth tables from boolean expressions
https://github.com/andars/truth-table

Last synced: about 2 months ago
JSON representation

generates truth tables from boolean expressions

Awesome Lists containing this project

README

        

# truth table generator

## example

```
$ ruby eval.rb
abc + (~a)bc + a(~b)c
^D

f(a, b, c):

a b c | abc + (~a)bc + a(~b)c
----------
0 0 0 | 0
0 0 1 | 0
0 1 0 | 0
0 1 1 | 1
1 0 0 | 0
1 0 1 | 1
1 1 0 | 0
1 1 1 | 1
```