Ejemplo n.º 1
0
        public Compiler()
        {
            Table = new int[26];
            for (char c = 'A'; c <= 'Z'; ++c)
            {
                Table[c - 'A'] = 0;
            }
            do
            {
                switch (Cradle.Look)
                {
                case '?': Input(); break;

                case '!': Output(); break;

                default: Assignment(); break;
                }
                Cradle.NewLine();
            } while (Cradle.Look != '.');
        }