macOS
brew install gnu-prologlocal Homebrew formula metadata
sudo port install gprologMacPorts ports tree · lang/gprolog/Portfile · 来源: api.github.com
安装
brew install gnu-prologlocal Homebrew formula metadata
sudo port install gprologMacPorts ports tree · lang/gprolog/Portfile · 来源: api.github.com
sudo apt install gprologDebian stable package indexes · gprolog · 来源: deb.debian.org
sudo dnf install gprologFedora Rawhide package metadata · gprolog · 来源: dl.fedoraproject.org
nix profile install nixpkgs#gprolognixpkgs package indexes · pkgs/by-name/gp/gprolog/package.nix · 来源: api.github.com
概览
Prolog compiler with constraint solving
历史
GNU Prolog is Daniel Diaz's free Prolog compiler with finite-domain constraint solving. Its defining trait is native-code compilation to small standalone executables, alongside an interactive top-level and debugger.
The official GNU Prolog site says development began in January 1996 under the name Calypso. The design drew from two earlier Diaz systems: wamcc, a Prolog-to-C compiler based on the Warren Abstract Machine, and clp(FD), a finite-domain constraint system built around a low-level primitive for defining higher-level constraints.
GNU Prolog occupies a practical niche among Prolog implementations: it emphasizes ISO Prolog compatibility, native executables, command-line compilation, C interoperability, and an integrated finite-domain solver. Those traits made it useful for logic-programming teaching, constraint examples, embeddable tools, and users who prefer a compiler-style workflow over a large image-based environment.
Practitioners run gprolog for the interactive top-level and gplc to compile Prolog files, C files, WAM files, and related inputs into native programs. Constraint programmers use its FD predicates for arithmetic, Boolean, symbolic, and reified constraints, often paired with enumeration heuristics.
GNU Prolog matters in package ecosystems because it is both a language runtime and a compiler toolchain: packages install several helper binaries, architecture support matters, and releases document low-level ports across Unix, macOS, Windows, ARM, and RISC-V targets.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fd2c | cli | 全局可执行文件 | |
gplc | cli | 全局可执行文件 | |
gprolog | cli | 全局可执行文件 | |
hexgplc | cli | 全局可执行文件 | |
ma2asm | cli | 全局可执行文件 | |
pl2wam | cli | 全局可执行文件 | |
wam2ma | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gnu-prolog |
|---|---|
| 版本 | 1.5.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gnu-prolog |
| 主页 | http://www.gprolog.org/ |
| 仓库 | https://github.com/didoudiaz/gprolog |
| 上游文档 | https://www.gprolog.org/manual/gprolog.html |
| 许可证 | LGPL-3.0-or-later OR GPL-2.0-or-later |
| 源码归档 | https://ftpmirror.gnu.org/gnu/gprolog/gprolog-1.5.0.tar.gz |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gnu-prolog |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gprolog
sudo port install gprologgprolog 1.4.5.0-3
GNU Prolog compiler
sudo apt install gprologgprolog-doc 1.4.5.0-3
documentation for the GNU Prolog compiler
sudo apt install gprolog-docgprolog
nix profile install nixpkgs#gprologgprolog 1.4.5.0-3
GNU Prolog compiler
sudo apt install gprologgprolog-doc 1.4.5.0-3
documentation for the GNU Prolog compiler
sudo apt install gprolog-docgprolog 1.5.0-15.fc43
GNU Prolog is a free Prolog compiler
sudo dnf install gprologgprolog-docs 1.5.0-15.fc43
Documentation for GNU Prolog
sudo dnf install gprolog-docs来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.