phpx augments PHP syntax with powerful metaprogramming constructs such as mixins, class-level eval()/macros, pattern matching, annotations and interface delegation. It also implements a simple compiler for converting this extended syntax to standard PHP. The "compiled" code can be cached to disk, allowing features to be used without any runtime performance penalty.
Minimac is a minimalist, general purpose text macro processor. Its simplicity should make it particularly well suited as a front end preprocessor for little language compilers. It is meant to be simpler to use than m4. It uses an explicit argument stack, and user functions are defined by concatenation (similar to the Forth language). Macro expansion is delayed to the last possible moment. The software is currently in alpha release.
cencode encodes a stream or a file into quoted c-string escape sequences, suitable for use directly in C code. It is a universal alternative to dedicated export formats like XPM, unportable resource forks, linker flags, and Windows resources where dynamic loading of external data is not possible or undesired.
WriteTarget is a universal text generator based on Bash text substitution. It can be used to generate text in any programming or markup language. The generator does not define its own language; it rather defines several functions, making it possible to use Bash for creating simple or sophisticated templates.
The Java Exorcist is a simple Java syntax extender. By default (with no extensions), it only compiles standard Java code, but with each extension to Exorcist a new Java language construct can be defined or redefined. The Exorcist preserves line numbering at runtime and at compile-time. It can be invoked on the command line and through an ant task.
JCPP is a complete, compliant, standalone, pure Java implementation of the C preprocessor. It is intended to be of use to people writing C-style compilers in Java using tools like sablecc, antlr, JLex, CUP, and so forth. It has been used to successfully preprocess much of the source code of the GNU C library.