GPP, the Generic Preprocessor

GPP, the Generic Preprocessor - Published in JOSS (2020)

https://github.com/logological/gpp

Science Score: 59.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
    1 of 4 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

GPP, a generic preprocessor

Basic Info
  • Host: GitHub
  • Owner: logological
  • License: lgpl-3.0
  • Language: C
  • Default Branch: master
  • Homepage: https://logological.org/gpp
  • Size: 650 KB
Statistics
  • Stars: 211
  • Watchers: 11
  • Forks: 32
  • Open Issues: 33
  • Releases: 4
Created about 11 years ago · Last pushed over 2 years ago
Metadata Files
Readme Changelog License Authors

README.md

GPP

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 that of GNU m4. There are built-in macros for use with C/C++, LaTeX, HTML, XHTML, and Prolog files.

GPP is Free Software. It is distributed under the terms of the GNU Lesser General Public Licence.

Obtaining GPP

You can download portable source packages (as .tar.bz2 files) for the current and previous releases on GitHub or nothingisreal.com.

Alternatively, you can browse, download, or clone the development version on GitHub, though note that if you do this you will need to manually set up the build system using the GNU Autotools rather than using the end-user installation instructions described below.

Installation

To configure, build, and install from the portable source packages, see the included INSTALL file. (In brief, ./configure && make && make install should work in most cases, provided you have make and a C compiler installed.)

For other systems, including Microsoft Windows, you may be able to follow the INSTALL instructions with the help of a Unix-like environment such as Cygwin or MSYS. Failing that, copy the file config.h.in to src/config.h. Open the file and follow the instructions inside to modify it based on your system's capabilities. Then use a C compiler to compile the gpp.c file in the src subdirectory with the macro HAVE_CONFIG_H defined. On Microsoft Windows systems, you may need to also define the macro WIN_NT if your compiler does not already define it by default.

Links to binary packages for various operating systems are available on the GPP home page.

Documentation

Extensive documentation, including usage examples, is included in the portable source package and should get installed automatically as a man page and an HTML file. The HTML version is also available online on the GPP home page.

Note that the documentation itself is generated by GPP using an input file (gpp.pp) with macros that can automatically produce HTML, LaTeX, or troff (man page) output. Studying this file should prove instructive, and manually running it through GPP can serve as a basic test of the program's functionality. Once you have installed GPP, you can invoke it as follows to get instructions on how to manually generate the documentation: gpp -H /path/to/gpp.pp

Citing GPP

To refer to GPP in a publication, please use the following citation:

Tristan Miller and Denis Auroux. GPP, the generic preprocessor. Journal of Open Source Software, 5(51), July 2020. ISSN 2475-9066. DOI: 10.21105/joss.02400.

Contributing

Contributions are welcome. Please post bug reports, feature requests, and support requests on the issue tracker. Feel free to fork the project and send pull requests for integration into the main distribution.

Owner

  • Name: Tristan Miller
  • Login: logological
  • Kind: user
  • Location: Vienna, Austria
  • Company: @OFAI

Computational linguist at the Austrian Research Institute for Artificial Intelligence

GitHub Events

Total
  • Issues event: 1
  • Watch event: 11
  • Issue comment event: 1
  • Fork event: 1
Last Year
  • Issues event: 1
  • Watch event: 11
  • Issue comment event: 1
  • Fork event: 1

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 134
  • Total Committers: 4
  • Avg Commits per committer: 33.5
  • Development Distribution Score (DDS): 0.022
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Tristan Miller p****t@n****m 131
gavanderhoorn g****n@t****l 1
Fabian Wolff f****f@a****e 1
Emin Karayel me@e****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 61
  • Total pull requests: 9
  • Average time to close issues: 5 months
  • Average time to close pull requests: about 1 year
  • Total issue authors: 29
  • Total pull request authors: 8
  • Average comments per issue: 1.28
  • Average comments per pull request: 1.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • logological (22)
  • drj11 (4)
  • duncanmac99 (4)
  • mofosyne (3)
  • malcolm061990 (2)
  • Artoria2e5 (2)
  • tr3ee (1)
  • computator (1)
  • umeding (1)
  • tichy3000 (1)
  • jkm (1)
  • sharpjs (1)
  • xihh87 (1)
  • denisdemaisbr (1)
  • gavanderhoorn (1)
Pull Request Authors
  • mofosyne (2)
  • GrayFace (2)
  • ekarayel (1)
  • gavanderhoorn (1)
  • Coding-Badly (1)
  • katahiromz (1)
  • duncanmac99 (1)
  • FabianWolff (1)
Top Labels
Issue Labels
enhancement (21) bug (8) confirmed (2) duplicate (2) invalid (1) documentation (1)
Pull Request Labels