JavaScript port of Dialekt, a simple boolean expression parser.