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

📄 read.me

📁 cocorj09-一个Java语言分析器
💻 ME
字号:
This directory contains the sources for the Taste toy compiler as used to
demonstrate the use of Coco/R for Java, as well as the .class files as
compiled with JDK 1.1.5.  They seem to be compatible with JDK 1.2.

If you want to modify Taste you must be very careful.  You are advised
to

(a) Copy the frame files from the Frames subdirectory to a working directory
(b) Copy the source (.java) files from this directory to the working directory
(c) Copy the attributed grammar (Taste.ATG) to the working directory

and make the modifications there, and not in this original directory!

The Scanner.frame file and the other .java files assume that you are using
Java 1.1.  If you are using Java 1.0 you will need to edit these files to
use other stream classes.  The lines that need to be changed are clearly
marked.

If you use the JDK to compile Taste you will need to issue the command(from
the directory above this one)

     javac Taste\Comp.java

twice, because of the way the classes are stored in the files.  The first
compilation will produce an error message.

You may also have to do something like this:

     set CLASSPATH=.
     javac -d . -deprecation Taste\Comp.java

Once you have compiled Taste, you can run it from a DOS command line with a
command sequence like

     @echo off
     if "%2" == "" goto simple
     java Taste.Comp %1 >%2
     goto stop
     :simple
     java Taste.Comp %1
     :stop

=end=

⌨️ 快捷键说明

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