Moka is the Java front-end for Mozart. Concept programming is about representing concepts in programs. Traditionally, this has been done mostly using programming languages, which are processed by interpreters or compilers. Moka demonstrates how a "traditional" language can be incorporated in Mozart.
How does it work?
Moka features a convenient way to take advantage of Mozart features and thin tools for your Java programs.
The way Moka works is shown in the following picture:
The Java source code is parsed by Moka, and transformed into Mozart tree representation. Various plug-ins can then be invoked to work on this representation. Finally, the resulting program tree can be rendered as source code, HTML, or another format. If no processing happens, Moka acts like a simle pretty printer.
How do I generate bytecode?
Moka is a Java-to-Java compiler. Its output is Java source, not bytecode. In order to produce bytecode, you need a "normal" Java compiler. In order to produce native code, you need a Java-to-native compiler like GNU GCC.