a light weight math expression parser library from https://github.com/codeplea/tinyexpr.
mkdir build && cd build
cmake ..
make
libtinyexpr.so saved to build/libstinyexpr_test saved to build/samplesrun sample and input math expression something like 1+2*5, it will calculate it and output result 11.