preprocess: a multi-language preprocessor
Project description
There are millions of templating systems out there (most of them developed for the web). This isn’t one of those, though it does share some basics: a markup syntax for templates that are processed to give resultant text output. The main difference with preprocess.py is that its syntax is hidden in comments (whatever the syntax for comments maybe in the target filetype) so that the file can still have valid syntax. A comparison with the C preprocessor is more apt.
preprocess.py is targetted at build systems that deal with many types of files. Languages for which it works include: C++, Python, Perl, Tcl, XML, JavaScript, CSS, IDL, TeX, Fortran, PHP, Java, Shell scripts (Bash, CSH, etc.) and C#. Preprocess is usable both as a command line app and as a Python module.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for preprocess-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae799e3ab836efeb4b9958bf0e54b5248a368bcdfd77e2c5467b8c56fe00dea1 |
|
MD5 | cf806a2b6827e23f2f3fd48e698355fb |
|
BLAKE2b-256 | 297855f04dbe6f8863538d139f05c8b898f196472299c694a03dac895ad673ae |