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

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   uCalc::Transformer t1;
   uCalc::Transformer t2;

   // Define a custom token in the first transformer
   auto customToken = t1.Tokens().Add("###", TokenType::Generic);

   // Import the token definition into the second transformer
   t2.Tokens().Add(customToken);
   t2.FromTo("###", "MATCH");

   cout << "t2 can now find '###': " << t2.Transform("Test ### Test") << endl;
}