Library for evaluating mathematical expressions