#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.ExpressionTransformer(); t.FromTo("({op:1} {a:1} {b:1})", "({a} {op} {b})"); cout << "LISP: (+ 10 20)" << endl; cout << "uCalc: " << t.Transform("(+ 10 20)") << endl; cout << "Result: " << uc.Eval("(+ 10 20)") << endl; }