Exemplo n.º 1
0
        public static void Tokenize(string[] args, Box<bool> quit, LineEditMode lem)
        {
            string src;
            src = Cty.ToText(lem.Lines);
            SyntaxAnalyzer p = new SyntaxAnalyzer();
            p.Init(src, "");

            ITokenEnumerator tkz = p.Tokens;
            while (tkz.EOF == false)
            {
                lem.CW.WN(tkz.Cur.ToString());
                tkz.Next();
            }
        }