Skip to content

SpoonBuoy/boolean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boolean

A C++ Boolean Expressions parser and evaluator, with variable count upto 15 (unless specified seperately).
Currently in Beta

Functions/Commands supported (as of now) :

Command/Function Example Input Example Output
Truth Table Generator print_table
(~(a+b))
a b Q
0 0 1
0 1 0
1 0 0
1 1 0
Minterms min_term
(~(a+b))
Min Terms :
0 0

Operators supported (as of now)

Binary Unary
& , .   equivalent to Boolean AND
| , +   equivalent to Boolean OR
^   equivalent to Boolean XOR
~ , !   equivalent to Boolean NOT

How to use?

From Source :

git clone https://github.com/SpoonBuoy/boolean.git 
cd boolean
make 
./boolean
[Command Input]

TO DO:


  • K-Map Generator
  • Boolean Expression Simplifier

Releases

No releases published

Packages

No packages published