A toy REPL for playing with boolean expressions
A toy REPL for playing with boolean expressions.
Build and run the project with cargo to enter the REPL, you can use CTRL
+ C
to exit.
a-z
Variable!
Not->
Implies==
Equals&
And|
Ortable
Generates truth tableclear
Clears the screenhelp
Shows available commandsexit
Exits the program> table (p -> !q) & q
p | q | ¬q | (p ⭢ ¬q) | ((p ⭢ ¬q) ∧ q)
0 | 0 | 1 | 1 | 0
0 | 1 | 0 | 1 | 1
1 | 0 | 1 | 1 | 0
1 | 1 | 0 | 0 | 0