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

using namespace std;
using namespace uCalcSoftware;

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

   // without {@Stop} "end" wouldn't be a match
   t.FromTo("StopAt {abc} {@Stop} end", "<{abc}>");
   t.FromTo("end", "[The End]");

   cout << t.Transform("StopAt a b c end") << endl;

}