using uCalcSoftware; var uc = new uCalc(); var t = new uCalc.Transformer(); // This rule only targets the alphanumeric token 'x'. t.FromTo("x", "value"); var code = """ x = 5; print("The value of x is..."); """; Console.WriteLine(t.Transform(code));