#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.NewTransformer(); // Match a word (Alpha) followed by equals and a Number (Literal) t.FromTo("{@Alpha} = {@Number}", "Assignment Detected"); cout << t.Transform("x = 10") << endl; }