A bracket evaluator