JSPP (Javascript Preprocessor) is a pre-compiler with JavaScript syntax that is similar in function to C's CPP. It can be used with many languages, but is designed for use with JavaScript. It adds file inclusion, conditional code inclusion, and macro expansion. This allows you to easily share code between projects.
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.