⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 version.java

📁 我开发的一个用java语言实现的编译器,内含词法分析器,语法分析器,而且可以实现中间代码生成.用到了SLR算法和LR(1)算法
💻 JAVA
字号:
package java_cup;/** This class contains version and authorship information.  *  It contains only static data elements and basically just a central  *  place to put this kind of information so it can be updated easily *  for each release.   * *  Version numbers used here are broken into 3 parts: major, minor, and  *  update, and are written as v<major>.<minor>.<update> (e.g. v0.10a).   *  Major numbers will change at the time of major reworking of some  *  part of the system.  Minor numbers for each public release or  *  change big enough to cause incompatibilities.  Finally update *  letter will be incremented for small bug fixes and changes that *  probably wouldn't be noticed by a user.   * * @version last updated: 12/22/97 [CSA] * @author  Frank Flannery */public class version {  /** The major version number. */  public static final int major = 0;  /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/  /** The minor version number. */  public static final int minor = 10;  /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/  /** The update letter. */  public static final char update = 'k';  /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/  /** String for the current version. */  public static final String version_str = "v" + major + "." + minor + update;  /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/  /** Full title of the system */  public static final String title_str = "CUP " + version_str;  /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/  /** Name of the author */  public static final String author_str =      "Scott E. Hudson, Frank Flannery, and C. Scott Ananian";  /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/  /** The command name normally used to invoke this program */   public static final String program_name = "java_cup";}

⌨️ 快捷键说明

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