GNU M4 Alternatives
The C preprocessor implements the macro language used to transform C, C++, and Objective-C programs before they are compiled. It can also be useful on its own.
- - GCC C Preprocessor (cpp) is the most popular Windows, Mac & Linux alternative to GNU M4.
- - GCC C Preprocessor (cpp) is the most popular Open Source & free alternative to GNU M4.
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.
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.
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...
P is a text preprocessor designed for Pandoc (and more generally Markdown and reStructuredText). PP implements:
- literate programming
- GraphViz, PlantUML and ditaa diagrams
- Bash, Cmd, PowerShell, Python and Haskell scripts
PP - A generic Preprocessor Features
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.