using uCalcSoftware;

var uc = new uCalc();
var t = uc.NewTransformer();
// NOTE: We do NOT call t.Find(), so the matches collection is empty.

var m = t.Matches;

Console.WriteLine($"Match count: {m.Count()}");

// Even with no matches, the parent context should be accessible
var parent_uc = m.uCalc;

Console.WriteLine($"Parent uCalc is valid: {parent_uc.MemoryIndex == uc.MemoryIndex}");