An extensible Java pre-processor EPP available

12 Mar 1998 23:20:48 -0500

          From comp.compilers

Related articles
An extensible Java pre-processor EPP available (ICHISUGI Yuuji) (1998-03-12)
| List of all articles for this month |

From: ICHISUGI Yuuji <>
Newsgroups: comp.compilers
Date: 12 Mar 1998 23:20:48 -0500
Organization: Compilers Central
Keywords: Java

  An extensible Java pre-processor, EPP, is available from
the following URL:


What is EPP ?
  EPP is an extensible Java source-to-source pre-processor
which can introduce new language features.

The user can specify "EPP plug-ins" at the top of Java source code in
order to incorporate various extension for Java language. Emitted
source codes can be compiled by ordinary Java compilers, can be
debugged by ordinary Java debuggers.

Plug-ins can extend the syntax of Java by extending
the recursive descend parser in a differential manner.

These are examples of useful plug-ins:

                AutoSplitFiles More than one public classes in one file.
                defmacro Macro definition with the same style as #define .
                EmbedCopyright Embedding a message into all class files.
                enum Constant integer definition.
                OptParam Optional actual parameters.
                assert Assert macro.

EPP can also be used as an application framework of source code
manipulation tools such as source level optimizer, metrics tools,
obfuscating tools.

See the EPP page for more details.

Yuuji Ichisugi
  Computer Science Division
  Electrotechnical Laboratory

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.