Projects / GPP

GPP

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

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  19 Sep 2004 16:33
  • Rrelease-after

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

  • Rrelease-mid
  •  11 Jul 2004 13:52
  • Rrelease-after

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

  • Rrelease-mid
  •  14 Feb 2004 10:43
  • Rrelease-after

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

  • Rrelease-mid
  •  07 Feb 2004 11:08
  • Rrelease-after

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

  • Rrelease-mid
  •  17 Jan 2004 23:54
  • Rrelease-after

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.

Rss Recent comments

Rcomment-before 21 Sep 2004 05:20 Rcomment-trans psychonaut Rcomment-after

How 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

B10714eae22a291f2cfad379a01f6e6c_thumb

Project Spotlight

Scribus

A page layout (DTP) application.

Ffccc45930a36cb3b7961f5f9766a2ca_thumb

Project Spotlight

Seed7

An extendable programming language.