pkg.soopen package index

brew / 排名 6462

使用 Homebrew, apt 安装 menhir

查看 menhir 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install menhir

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install menhir

Debian stable package indexes · menhir · 来源: deb.debian.org

概览

软件包摘要

LR(1) parser generator for the OCaml programming language

命令和别名

  • menhir

历史

项目历史与用法

Menhir is an LR(1) parser generator for OCaml, created in 2005 by François Pottier and Yann Régis-Gianas. Its manual presents it as a generator that turns grammar specifications plus semantic actions into parsers, based on Knuth's LR(1) construction and inspired by yacc, ML-Yacc, and ocamlyacc while adding more modern capabilities.

项目历史

The project history is unusually well documented in its README. Régis-Gianas contributed the early front-end for parsing and transforming .mly grammar files, while Pottier contributed the LR(1) construction algorithms, conflict explanations, and first OCaml code backend. A table backend using menhirLib followed in 2008 with Jane Street Capital funding through the OCaml Summer Project. Jacques-Henri Jourdan implemented a Coq-table backend in 2011. Frédéric Bour contributed the incremental API, inspection API, attributes, and MenhirSdk between 2014 and 2017. The build moved to Dune in 2019, and Émile Trotignon and Pottier implemented a new efficient, well-typed code backend around StackLang in 2021.

使用方式

Menhir's ecosystem role is as the richer successor-style tool for OCaml parser generation. OCaml developers feed it .mly grammar files and receive parser .ml/.mli output, either as standalone generated code or table-backed parsers linked with MenhirLib. The opam package page lists many reverse users, including compiler, verification, parsing, and developer-tooling packages, which matches its place as infrastructure for OCaml language tooling.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
menhircli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本20260209
管理器更新时间2026-07-13
本地数据OK
上游not checked
检测到的最新版本未检测到

http://cristal.inria.fr/~fpottier/menhir

安装元数据

软件包元数据

软件包键brew:menhir
版本20260209
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/menhir
主页http://cristal.inria.fr/~fpottier/menhir
上游文档http://cristal.inria.fr/~fpottier/menhir
许可证GPL-3.0-or-later
源码归档https://gitlab.inria.fr/fpottier/menhir/-/archive/20260209/menhir-20260209.tar.bz2
最后更新2026-07-13T05:11:30Z
Pulseupdated
依赖ocaml
构建依赖dune, ocamlbuild
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemenhir
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libmenhir-ocaml-dev 20240715+ds-1+b2

Menhir library for OCaml

https://gallium.inria.fr/~fpottier/menhir/

sudo apt install libmenhir-ocaml-dev
  • Section: ocaml
  • Architecture: amd64
  • Source Package: menhir
  • 2 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Menhir
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmenhir-ocaml-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

menhir 20240715+ds-1+b2

Parser generator for OCaml

https://gallium.inria.fr/~fpottier/menhir/

sudo apt install menhir
  • Section: devel
  • Architecture: amd64
  • Source Package: menhir
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Menhir
Debian stable package indexes · deb.debian.org · Debian stable package indexes: menhir from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

menhir-doc 20240715+ds-1

Documentation of the Menhir parser generator for OCaml

https://gallium.inria.fr/~fpottier/menhir/

sudo apt install menhir-doc
  • Section: doc
  • Architecture: all
  • Source Package: menhir
  • normalized package name match
  • 匹配方式:Menhir
Debian stable package indexes · deb.debian.org · Debian stable package indexes: menhir-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libmenhir-ocaml-dev 20231231+ds-1

Menhir library for OCaml

https://gallium.inria.fr/~fpottier/menhir/

sudo apt install libmenhir-ocaml-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: menhir
  • 2 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Menhir
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmenhir-ocaml-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

menhir 20231231+ds-1

Parser generator for OCaml

https://gallium.inria.fr/~fpottier/menhir/

sudo apt install menhir
  • Section: universe/devel
  • Architecture: amd64
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Menhir
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: menhir from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

menhir-doc 20231231+ds-1

Documentation of the Menhir parser generator for OCaml

https://gallium.inria.fr/~fpottier/menhir/

sudo apt install menhir-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: menhir
  • normalized package name match
  • 匹配方式:Menhir
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: menhir-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation