AjErl.Console.Program.Main C# (CSharp) 메소드

Main() 공개 정적인 메소드

public static Main ( string args ) : void
args string
리턴 void
        public static void Main(string[] args)
        {
            Console.WriteLine("AjErl alfa 0.0.1");

            Lexer lexer = new Lexer(Console.In);
            Parser parser = new Parser(lexer);
            Machine machine = new Machine();

            while (true)
                try
                {
                    ProcessExpression(parser, machine.RootContext);
                }
                catch (Exception ex)
                {
                    Console.Error.WriteLine(ex.Message);
                    Console.Error.WriteLine(ex.StackTrace);
                }
        }