macOS
brew install gpplocal Homebrew formula metadata
安装
brew install gpplocal Homebrew formula metadata
sudo dnf install general-purpose-preprocessorFedora Rawhide package metadata · general-purpose-preprocessor · 来源: dl.fedoraproject.org
nix profile install nixpkgs#gppnixpkgs package indexes · pkgs/by-name/gp/gpp/package.nix · 来源: api.github.com
sudo zypper install gppopenSUSE Tumbleweed package metadata · gpp · 来源: download.opensuse.org
概览
General-purpose preprocessor with customizable syntax
历史
GPP is a general-purpose preprocessor with customizable syntax. The project README and citation metadata emphasize that it is independent of any one programming language, lighter than GNU m4 for many tasks, and includes built-in macro support for C/C++, LaTeX, HTML, XHTML, and Prolog files.
The GitHub repository is the official development location and the project homepage links users to online documentation, portable source packages, and binary-package references. The repository includes source, documentation, Autotools files, license files, and citation metadata.
GPP has academic documentation as well as package metadata: its CITATION.cff points to a 2020 Journal of Open Source Software article by Tristan Miller and Denis Auroux describing it as an extensible, customizable preprocessor for software development, document processing, and research workflows.
The input package-manager facts list Homebrew, Debian, Fedora, MacPorts, Nix, Ubuntu, and openSUSE packages. That spread fits a small C command-line tool that is useful in build pipelines and documentation generation without needing a runtime service.
Homebrew packages it as gpp, Fedora uses the more descriptive general-purpose-preprocessor name, and the official README points users to binary-package links on the project homepage.
Users invoke gpp to preprocess text with syntax tuned to the target language or document format. The README notes that the documentation itself is generated by GPP from a gpp.pp input file, making the docs both reference material and a working example.
The package is most useful when cpp is too language-specific and m4 is heavier than needed: templating LaTeX or HTML, defining domain-specific macro syntax, or generating source fragments in build systems.
GPP is a compact example of a Unix filter that earns packaging despite a small footprint: it has a single executable, man/HTML documentation, portable source releases, and a stable niche that overlaps build systems, documentation, and research tooling.
Its significance is less about popularity and more about substitutability: package users can reach for it when they need a configurable macro processor without bringing in a full template engine or language-specific preprocessor.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gpp | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gpp |
|---|---|
| 版本 | 2.28 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gpp |
| 主页 | https://logological.org/gpp |
| 仓库 | https://github.com/logological/gpp |
| 上游文档 | https://logological.org/gpp |
| 许可证 | LGPL-3.0-only |
| 源码归档 | https://files.nothingisreal.com/software/gpp/gpp-2.28.tar.bz2 |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gpp |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gpp 2.28-2
general-purpose preprocessor with customizable syntax
sudo apt install gppgpp
nix profile install nixpkgs#gppgpp 2.28-1
general-purpose preprocessor with customizable syntax
sudo apt install gppgeneral-purpose-preprocessor 2.28-7.fc44
Customizable language-agnostic preprocessor
sudo dnf install general-purpose-preprocessorgpp 2.28-1.7
Generic Preprocessor
sudo zypper install gppgpp
sudo port install gpp来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.