tproc is described as 'A small yet powerful text processor in Python. Features: * Unleashes the full power of Python for organizing, generating, validating and debugging your data. Supports arbitrary Python code and modules. No new languages to learn' and is an app in the Development category. There are five alternatives to tproc for Linux, Windows and Mac. The best alternative is GPP, which is both free and Open Source. Other great apps like tproc are PP - A generic Preprocessor (Free, Open Source), Gema (Free, Open Source), GNU M4 (Free, Open Source) and Filepp (Free, Open Source).
P is a text preprocessor designed for Pandoc (and more generally Markdown and reStructuredText). PP implements: - macros - literate programming - GraphViz, PlantUML and ditaa diagrams - Bash, Cmd, PowerShell, Python and Haskell scripts.
Gema is a general purpose text processing utility based on the concept of pattern matching. In general, it reads an input file and copies it to an output file, while performing certain transformations to the data as specified by a set of patterns defined by the user.
GNU M4 is an implementation of the m4 macro preprocessor. Developed by the GNU Project, GNU M4 is designed to avoid many kinds of limits found in traditional m4 implementations, such as maximum line lengths, maximum size of a macro and number of macros
filepp is a generic file preprocessor. It is designed to allow the functionality provided by the C preprocessor to be used with any file type. filepp supports the following keywords, all of which have their usual C preprocessor meanings and usage.