#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.NewTransformer(); // Normalize "True/Yes/On" to "TRUE" and "False/No/Off" to "FALSE" t.FromTo("{ True | Yes | On }", "TRUE"); t.FromTo("{ False | No | Off }", "FALSE"); cout << t.Transform("System is On") << endl; // Output: System is TRUE cout << t.Transform("Power is False") << endl; // Output: Power is FALSE }