示例#1
0
        static void Main(string[] args)
        {
            System.Diagnostics.Stopwatch watch = new System.Diagnostics.Stopwatch();
            watch.Start();  //开始监视代码运行时间
            ACS_Parser.VariableList vars = new ACS_Parser.VariableList();


            ACS_Parser.Parser p = new ACS_Parser.Parser(ACS_Lexer.Lexer._Main());
            p.Start();



            //   BNF.Match(ACS_Lexer.Lexer._Main());
            watch.Stop();
            TimeSpan timespan = watch.Elapsed;

            Console.WriteLine("-----------------------");
            Console.WriteLine("执行时间:{0}(毫秒)", timespan.TotalMilliseconds);
            Console.ReadKey();
        }