📄 read.me
字号:
This directory contains the sources for 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 bootstrap Coco/R 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 (Coco.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 or 1.2. 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 Coco you may have to issue the command (from the
directory above this one)
javac Coco\Comp.java
twice, because of the way the classes are stored in the files. The first
compilation may produce an error message. You may also have to do something
like this:
set CLASSPATH=.
javac -d . -deprecation Coco\Comp.java
Once you have compiled Coco, you can run it from a DOS command line with a
command sequence like
@echo off
if "%2" == "" goto simple
java Coco.Comp %1 >%2
goto stop
:simple
java Coco.Comp %1
:stop
=end=
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -