#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; { uCalc::Transformer t; t.Owned(); // Causes t to be released when it goes out of scope // Rule to convert legacy variable declaration t.FromTo("LET {@Alpha:var} = {val}", "var {var} = {val};"); cout << t.Transform("LET X = 100") << endl; } }