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

using namespace std;
using namespace uCalcSoftware;

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

   t.FromTo("This is a [{adj: simple}] test",
   "Let's take the {adj}{!adj:short} test");

   cout << t.Transform("This is a test") << endl;
   cout << t.Transform("This is a simple test") << endl;
}