(Real World: Structure Identification) Labeling the start of complex data structures in a mixed text stream.

ID: 930

See: {@Bracket}
				
					using uCalcSoftware;

var uc = new uCalc();
var t = new uCalc.Transformer();
t.FromTo("{@Bracket}", "[START_SCOPE]");

string input = "func { data [ 1, 2 ] }";
Console.WriteLine(t.Transform(input));
				
			
func [START_SCOPE] data [START_SCOPE] 1, 2 ] }
				
					#include <iostream>
#include "uCalc.h"

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   uCalc::Transformer t;
   t.FromTo("{@Bracket}", "[START_SCOPE]");

   string input = "func { data [ 1, 2 ] }";
   cout << t.Transform(input) << endl;
}
				
			
func [START_SCOPE] data [START_SCOPE] 1, 2 ] }
				
					Imports System
Imports uCalcSoftware
Public Module Program
   Public Sub Main()
      Dim uc As New uCalc()
      Dim t As New uCalc.Transformer()
      t.FromTo("{@Bracket}", "[START_SCOPE]")
      
      Dim input As String = "func { data [ 1, 2 ] }"
      Console.WriteLine(t.Transform(input))
   End Sub
End Module
				
			
func [START_SCOPE] data [START_SCOPE] 1, 2 ] }