Next: 4. The Jau-Package
Up: Lookout For A Free
Previous: 2. The Unix Standard
  Contents
  Index
Subsections
Sun Microsystems offers their Java Development Kit (JDK) for
several platforms. The JDK contains powerful command line tools:
- java virtual machine (JVM)
- compiler with dependency check
- debugger
- java documentation tool (javadoc)
Many commercial software producers started to develop their own
GUI3.1 based development
environment.
As you can see, many tools are given with the JDK, but some tools are missing.
The JFC, actualy known as Swing, supports Java with new very usefull
components:
- ToolTips (known as BubbleHelp)
- Editor-Classes (can browse html and rtf)
- Easy Hotkey-Bindings
- TabbedFolders
- Light-Weight-Components (Java-, Motiv-, Windows-Look)
- ...
These JFC will be a part for the upcoming JDK 1.2.X,
for now you can use it as a package-class-jar-file under the package
hirarchy com.java.swing.*.
On Unix platforms and on man other platforms, e.g. Windows (see section 2.1, page ),
the Unix tools are avaiable.
Thus we can use .
JavaDepend[5] is the makedepend (or the C compiler invokation with the option -M or -MM) aequivalent.
JavaDepend creates prerequisites for the makefile,
so all sources newer than it's goals will be compiled.
With javadoc source documentations can be created.
The source can be added with simple javadoc-tags
in the commentary-part.
javadoc creates a HTML documentations including a class-tree
and package index.
3.6 Parser Generation using JavaCC
Usually we need Lex & Yacc [1] to generate a parser.
Lex & Yacc can generate Pascal, C or C++ source-code.
This source-code can be compiled to a platform specific executable.
Platform specific means, that the source-code is compiled into
native-code, which uses special machine-instructions and the
special operation-system environment.
If we have ANSI code, especially C or C++, we
are able to compile the same code with less or no modifications on
each target. But the executable binary-code is not portable.
Nowadays we can use Java as the programming language and
the JVM as the platform to use platform-independend compilers.
Sun Microsystems offers a Java based aquivalent to Lex & Yacc,
the Java-Compiler-Compiler (JavaCC) [3]
Instead of Lex & Yacc, where Yacc is a LALR Parser generator,
JavaCC is a LL(k) Parser generator. So JavaCC uses the extended
Backus Naur Form (EBNF) for the syntax description. Also JavaCC
descriptions defines the tokens in the same file,
instead of Lex & Yacc, where Lex supports Yacc with tokenisation.
Footnotes
- ...
GUI3.1
- GUI = Graphical User Interface
Next: 4. The Jau-Package
Up: Lookout For A Free
Previous: 2. The Unix Standard
  Contents
  Index
sven goethel
2000-11-21