Parse and evaluate boolean constants