#include <iostream>
#include "uCalc.h"

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   auto t = uc.NewTransformer();
   // Use {@Literal} to match either numbers or strings
   t.FromTo("{@Alpha:key} = {@Literal:val}", "Set {key} to {val}");

   cout << t.Transform("Timeout = 100") << endl;      // Output: Set Timeout to 100
   cout << t.Transform("Name = 'Admin'") << endl;     // Output: Set Name to 'Admin'
}