macOS
brew install picatlocal Homebrew formula metadata
安装
brew install picatlocal Homebrew formula metadata
sudo apk add picatAlpine Linux edge package indexes · picat · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#picatnixpkgs package indexes · pkgs/by-name/pi/picat/package.nix · 来源: api.github.com
概览
Simple, and yet powerful, logic-based multi-paradigm programming language
历史
Picat is a logic-based, multi-paradigm programming language designed for general programming, constraint solving, planning, and scripting. It combines rule-based pattern matching with familiar imperative constructs and specialized search facilities.
Neng-Fa Zhou and collaborators designed Picat as a scalable logic-based, multi-paradigm language. The initial design was published in December 2012, and the first alpha release appeared in May 2013.
The implementation is based on the B-Prolog engine. Over time the language added and refined constraint, planning, tabling, scripting, and Prolog-compatible facilities; version 3.0 added Prolog-style Horn clauses and definite-clause grammars.
The project’s guide credits early community review and hundreds of Picat programs written from May 2013 onward as important to the language’s rapid maturation. Picat later developed a presence in constraint-programming education, programming contests, and solver competitions.
The official site records first-place performance in the 2021 LP/CP programming contest and competitive results in later XCSP and MiniZinc challenges. It is distributed through several Unix package ecosystems, including Homebrew, Alpine Linux, and Nix.
Users can start an interactive Picat session with the picat command, load and debug programs, or execute a .pi program directly when it defines main/0 or main/1. Common application areas include constraint models, combinatorial search, planning, contest problems, and scripts.
Picat interests language-package enthusiasts because it packages a comparatively uncommon blend of Prolog-like relations, imperative assignments and loops, tabling, constraint solving, planning, and scripting in one standalone interpreter.
Its implementation lineage through the B-Prolog engine and its interfaces to SAT, SMT, and mathematical-optimization solvers make it a compact gateway into several declarative-programming traditions.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
picat | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:picat |
|---|---|
| 版本 | 3.9.12 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/picat |
| 主页 | https://picat-lang.org/ |
| 上游文档 | https://picat-lang.org/ |
| 许可证 | MPL-2.0 |
| 源码归档 | https://picat-lang.org/download/picat39_12_src.tar.gz |
| 最后更新 | 2026-09-11T12:53:08Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | picat |
| 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 软件包链接分开显示。
picat
nix profile install nixpkgs#picatpicat 3.9.12-r0
Logic-based multi-paradigm programming language
sudo apk add picatpicat-doc 3.9.12-r0
Logic-based multi-paradigm programming language (documentation)
sudo apk add picat-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.