#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.NewTransformer(); // Match "Number + Number" t.FromTo("{@Number} + {@Number}", "Math Operation"); cout << t.Transform("10 + 20") << endl; // Output: Math Operation cout << t.Transform("A + B") << endl; // No Match (A/B are Alpha, not Number) }