mkdir build
cd build
cmake ..
cmake --build .
./calc "math expresshion"
./calc "math expr with variables (x) + (y)" --var x=4 --var y=PI
- if the name of var is not resolved it will turn to zero
The number of arguments is unlimited
If you wnat add new tokens put token name in enum token.h And add math logic to calc.h and string parser calculatormodel.cpp
To add a new const value, enter the value in calculatormodel.h