Parser and interpreter to evaluate boolean logic
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
src
test
.gitignore
LICENSE
README.md
Setup.hs
logic.cabal
stack.yaml

README.md

logic

A little parser and interpreter to parse boolean expressions

stack build
stack exec logic
logic> not false
True
logic> not false or true and (1 & 0) | !t
True
logic> not true
False
logic> !false
True
logic> !f
True
logic> 0 & 1
False
logic> 1 & (0 or 1)
True