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 GCC C Preprocessor (cpp) include PP - A generic Preprocessor, which is free and open source. Other options are Gema, Filepp, GNU M4 and GPP. In total there are seven apps like GCC C Preprocessor (cpp) 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...
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.
The build preprocessor is similar to the C preprocessor, meant for processing files which have no built-in preprocessor such as XUL and JavaScript documents.