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.
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.