We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.PL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Programming Languages

Title: GPP, the Generic Preprocessor

Abstract: In computer science, a preprocessor (or macro processor) is a tool that programatically alters its input, typically on the basis of inline annotations, to produce data that serves as input for another program. Preprocessors are used in software development and document processing workflows to translate or extend programming or markup languages, as well as for conditional or pattern-based generation of source code and text. Early preprocessors were relatively simple string replacement tools that were tied to specific programming languages and application domains, and while these have since given rise to more powerful, general-purpose tools, these often require the user to learn and use complex macro languages with their own syntactic conventions. In this paper, we present GPP, an extensible, general-purpose preprocessor whose principal advantage is that its syntax and behaviour can be customized to suit any given preprocessing task. This makes GPP of particular benefit to research applications, where it can be easily adapted for use with novel markup, programming, and control languages.
Comments: 4 pages, 0 figures
Subjects: Programming Languages (cs.PL)
ACM classes: D.3.4; I.7.2
Journal reference: Journal of Open Source Software, 5(51), 2020
DOI: 10.21105/joss.02400
Cite as: arXiv:2008.00840 [cs.PL]
  (or arXiv:2008.00840v1 [cs.PL] for this version)

Submission history

From: Tristan Miller [view email]
[v1] Mon, 3 Aug 2020 12:41:04 GMT (180kb,D)

Link back to: arXiv, form interface, contact.