Пример #1
0
        static void Main(string[] args)
        {
            TokensList tokensList = new TokensList("Output.txt");

            try
            {
                Prgm     prgm     = new Prgm(tokensList);
                TreePass treePass = new TreePass(prgm);
            }
            catch (Exception e)
            {
                Console.Write(e);
            }
        }
Пример #2
0
        public Program()
        {
            TokensList tokensList = new TokensList("Output.txt");

            try
            {
                Prgm     prgm     = new Prgm(tokensList);
                TreePass treePass = new TreePass(prgm);
            }
            catch (Exception e)
            {
                Console.Write(e);
                isCorrect = false;
            }
        }