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
Apps similar to tproc include PP - A generic Preprocessor, which is free and open source. Other options are Gema, Filepp, GNU M4 and GPP. In total there are five apps like tproc for Linux, Windows and Mac.
P is a text preprocessor designed for Pandoc (and more generally Markdown and reStructuredText). PP implements:
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
GPP is a general-purpose preprocessor with customizable syntax, suitable for a wide range of preprocessing tasks. Its independence from any one programming language makes it much more versatile than the C preprocessor (cpp), while its syntax is lighter and more flexible than...