GPP is a general-purpose preprocessor with customizable syntax, suitable for a wide range of preprocessing tasks. Its independence from any programming language makes it much more versatile than cpp, while its syntax is lighter and more flexible than that of m4. The syntax is fully customizable, which makes it possible to process text files, HTML, or source code equally efficiently in a variety of languages.
| Tags | Text Processing Internet Web Site Management Information Management Software Development Pre-processors |
|---|---|
| Licenses | LGPL |
| Operating Systems | OS Independent |
| Implementation | C C# C++ Java JavaScript Objective C Other Other Scripting Engines Prolog Unix Shell |
Recent releases


Changes: This version features a new meta-macro for formatting the current date and time.


Changes: A bug where #error and #warning directives were processed in the false branch of a conditional has been fixed.


Changes: GPP now features the commandline option --include, which allows preprocessing of a specified file before the main input file.


Changes: GPP now supports CPP-style #error and #warning macros.


Changes: The arithmetic evaluation macro (#eval) now supports POSIX-style wildcard matching (i.e., shell globbing). There is now an #elif macro to help avoid deeply-nested conditionals. Finally, a long-standing bug has been fixed where GPP would be off by one when reporting line numbers in its error messages or with the #line meta- macro.
- All comments
Recent commentsHow do you use GPP?
Greetings, GPP users.
I am currently working on a presentation on GPP which I may eventually publish online as a tutorial or introduction. As part of this project I would like to gather some data on what people use GPP for.
Do you use GPP to help manage a large website? Do you use it for a particular programming language which lacks a suitable preprocessor? Or perhaps you've discovered some novel and interesting use for GPP? Any way, I'd be interested in hearing about it. Please drop me a short note at psychonaut@nothingisreal.com with your background and experiences.
Thanks in advance for your time, and I hope GPP has been serving you well.
Regards,
Tristan