Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t = uc.NewTransformer() '// Define the data uc.DefineVariable("user_name = 'Alice'") '// Define the placeholder rule '// '{' is a special character and must be escaped t.FromTo("'{' '{' {expr} '}' '}'", "{@@Eval: expr}") '// Process the template Console.WriteLine(t.Transform("Hello, {{ user_name }}!")) End Sub End Module