Pyexpander is a powerful macro processing language based on python. Instead of simple macro replacement it offers evaluation of arbitrary python expressions and execution of python code. Pyexpander is Turing Complete.
Goetz Pfeiffer <Goetz.Pfeiffer@helmholtz-berlin.de>
Documentation is available online here:
Documentation is also included in the software distribution in HTML and RST (reStructuredText) format.