program.cs

来自「编译原理语法分析和词法分析综合实验: 源程序、可执行程序、测试程序文件、程序运行」· CS 代码 · 共 39 行

CS
39
字号
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Antlr.Runtime.Collections;
using Antlr.Runtime.Debug;
using Antlr.Runtime.Tree;
using Antlr.Runtime.Misc;
using Antlr.StringTemplate;
using Antlr.Runtime;
using Antlr.Utility;

namespace syn
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());

        //    System.IO.StringReader st = new System.IO.StringReader(@"C:\Documents and Settings\LuckyStar\桌面\q.txt");
        //    ANTLRReaderStream input = new ANTLRReaderStream(st);
        //    exprLexer lexer = new exprLexer(input);
            //CommonTokenStream tokens = new CommonTokenStream(lexer);
        //ExprParser parser = new ExprParser(tokens);
        //parser.prog();
            //int sss;
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?