library for syntax checking and computing of mathematical expressions