A simple calculator calc - a simple calculator - is a sample application using CPARSEC2 library calc parse and evaluate an integer arithmetic expression, and print result. How to build make Usage Usagecalc <expression> $ ./bin/calc '10 + 2 * 3' 16 $ ./bin/calc '(10 + 2) * 3' 36