Wednesday, January 08, 2014

Google Python Preprocessor

A variation on the C preprocessor that (1) works on multiple languages and (2) encodes preprocessor statements as comments in that language so syntax correctness is not broken. This project provides a Python script: preprocess.py
https://code.google.com/p/preprocess/

Install Notes
-------------

Download the latest `preprocess` source package, unzip it, and run `python
setup.py install`:

unzip preprocess-1.1.0.zip
cd preprocess-1.1.0
python setup.py install

No comments: