pkg.soopen package index

brew / 排名 6453

使用 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
menhir可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本20260209
管理器更新时间2026-07-13
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:menhir
版本20260209
软件包管理器Homebrew
主页http://cristal.inria.fr/~fpottier/menhir
最后更新2026-07-13T05:11:30Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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
  • pkg.so package database
  • pkgdb category and tag curation