*** empty log message ***
[m17n/m17n-lib-cs.git] / expr.cs
1 using System;
2 using System.IO;
3 using M17N;
4 using M17N.Core;
5
6 public class Test
7 {
8   public static void Main()
9   {
10     MExpression expr = new MExpression ();
11
12     using (FileStream stream = new FileStream ("eval.txt", FileMode.Open))
13       {
14         MPlist plist = new MPlist (stream);
15
16         foreach (MPlist p in plist)
17           expr.Add (p);
18       }
19     Console.WriteLine (expr+"="+expr.Eval (null));
20   }
21 }