I am looking for a C++ library that allows the user to pass in a prefix or postfix expression string or list as input that returns the derivative wrt some operand. So far all the libraries I could find only support infix expressions like Ev3. Is there such a library that natively supports this, or something that can be minimally engineered to do so?