Library for processing mathemathical expressions