Swift port of Dialekt, a simple boolean expression parser.