IgnoreStatementSeparator +

ID: 217

				
					using uCalcSoftware;

var uc = new uCalc();
var t = uc.NewTransformer();

t.FromTo("a {txt} c", "<{@Self}>");
t.FromTo("x {txt+} z", "<{@Self}>");

Console.WriteLine(t.Transform("a b c; :: x y z; :: a b; c :: x y; z"));
				
			
<a b c>; :: <x y z>; :: a b; c :: <x y; z>
				
					#include <iostream>
#include "uCalc.h"

using namespace std;
using namespace uCalcSoftware;

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

   t.FromTo("a {txt} c", "<{@Self}>");
   t.FromTo("x {txt+} z", "<{@Self}>");

   cout << t.Transform("a b c; :: x y z; :: a b; c :: x y; z") << endl;
}
				
			
<a b c>; :: <x y z>; :: a b; c :: <x y; z>
				
					Imports System
Imports uCalcSoftware
Public Module Program
   Public Sub Main()
      Dim uc As New uCalc()
      Dim t = uc.NewTransformer()
      
      t.FromTo("a {txt} c", "<{@Self}>")
      t.FromTo("x {txt+} z", "<{@Self}>")
      
      Console.WriteLine(t.Transform("a b c; :: x y z; :: a b; c :: x y; z"))
   End Sub
End Module
				
			
<a b c>; :: <x y z>; :: a b; c :: <x y; z>