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

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   auto t = uc.NewTransformer();
   t.Str("a b c d e f");
   t.FromTo("{ a | d }", "xy");

   cout << t << endl;
   cout << "Length: " << t.StrLength() << endl;
   cout << "" << endl;
   cout << t.Transform() << endl;
   cout << "Length: " << t.StrLength() << endl;
}