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

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   auto t = uc.NewTransformer();

   t.FromTo("a test", "'{@Self}' is part of: '{@Doc}'");

   // Note: .Str(0) here is a shortcut for .Matches().Str(0)
   cout << t.Transform("This sentence is just a test").Str(0) << endl;
}