*** empty log message ***
[m17n/m17n-lib-cs.git] / xex.cs
1 using System;
2 using System.Collections.Generic;
3 using System.IO;
4 using System.Xml;
5 using Xex = System.Xml.Expression.Xexpression;
6
7 public class Test
8 {
9   public static void Main(params string[] args)
10   {
11     Xex.Domain domain = new Xex.Domain (null);
12     Xex xex = new Xex (domain, "xex.xml");
13
14     if (args.Length >= 2 && args[0] == "-d")
15       Xex.debug_level = int.Parse (args[1]);
16     Console.WriteLine (xex);
17     Console.WriteLine (xex.Eval (domain));
18   }
19 }