Mathexpr is a relatively small mathematical expression evaluator library written in Nim without any third-party dependencies. It has a lot of predefined math functions and some constants, and you can also define your own.
To install mathexpr, simply run:
$ nimble install mathexpr