Programming for the Javaв„ў Virtual Machine

Name

COM.sootNsmoke.oolong.Oolong Assemble an Oolong source file.

Abbreviated name

Oolong

Synopsis

java COM.sootNsmoke.oolong.Oolong [-g] [-n] [-d directory] file1.j ... java Oolong [-g] [-n] [-d directory] file1.j ...

Description

Oolong reads the file file1.j, which is expected to contain a number of class descriptions in the Oolong language, as described in section B.4. The compiled classes are placed in separate files. The name of the file is the name of the class (with any package name removed) with the extension .class.

For example, suppose file1.j contains this class declaration:

.class foo/bar

The resulting file will be called bar.class.

The main executable class is called COM.sootNsmoke.oolong.Oolong. The class Oolong, in the default package, is also provided, which has a main method that calls the main in COM.sootNsmoke.oolong.Oolong. This class is a convenience if you don't want to type the longer name when compiling.

Options

g Use .line and .var directives to generate debugging information.
n Generate debugging information, but use automatically generated line numbers. The automatically generated line numbers correspond to the lines of the source code.
d directory Place generated .class files into directory.

Категории