2 using System.Collections.Generic;
5 using Xex = System.Xml.Xexpression;
9 public static void Main(params string[] args)
12 Xex.Domain domain = new Xex.Domain ("test", null);
13 Xex.Term[] terms = Xex.Parse (domain, "xex.xml");
15 if (args.Length >= 2 && args[0] == "-d")
16 Xex.TraceDepth = int.Parse (args[1]);
17 foreach (Xex.Term term in terms)
18 Console.WriteLine (term);
19 Console.WriteLine (Xex.Eval (domain, terms));