boolcalc is a library for calculate boolean expressions