Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts, Nix 安装 ott

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ott

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ott

MacPorts ports tree · devel/ott/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install libcoq-ott

Debian stable package indexes · libcoq-ott · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#ott

nixpkgs package indexes · pkgs/by-name/ot/ott/package.nix · 来源: api.github.com

概览

软件包摘要

Tool for writing definitions of programming languages and calculi

历史

项目历史与用法

Ott is a tool and metalanguage for writing definitions of programming languages and calculi. It lets semanticists write syntax, binding structure, and inference rules once, then generate LaTeX, Coq, HOL, Isabelle/HOL, Lem, OCaml, and related artifacts.

项目历史

Ott was principally developed by Peter Sewell, Francesco Zappa Nardelli, and Scott Owens, with a wider contributor group. Its design was published at ICFP 2007 and then as a Journal of Functional Programming article in January 2010.

The project arose from a specific pain point in programming-language research: full-scale semantic definitions are valuable but hard to keep consistent when they live only in informal mathematics or inside a single proof assistant. Ott's answer was a readable ASCII notation plus sanity checking and code generation into both publication and mechanized-proof formats.

采用历史

The Ott manual and repository document examples spanning untyped and simply typed lambda calculi, ML polymorphism, POPLmark F<:, TAPL systems, a Leroy-style module system, Lightweight Java, Java module-system work, and a substantial OCaml-light semantics. The JFP paper reports larger case studies including OCaml light with 310 rules and mechanized soundness results.

Ott's adoption is strongest in programming-languages research, where the same source definition can support papers, collaborative editing, and proof assistant artifacts. The 2010 'Ott or Nott' workshop abstract is a useful adoption signal: it presents Ott as part of a working language-design process, not merely as a backend generator.

使用方式

A typical user writes an .ott source file describing object-language syntax and semantic judgments, then invokes ott with one or more -o outputs such as .tex, .v, .thy, HOL script, Lem, or OCaml files. The tool can also filter embedded terms in LaTeX, Coq, Isabelle/HOL, Lem, or OCaml source.

The generated artifacts reduce drift between the published rules, the parser-level syntax, and the formal definitions used for mechanized reasoning. For package users, the command-line binary is the bridge between a research notation and several proof and documentation ecosystems.

为什么软件包爱好者会关心

Ott is a rare package that is both a compiler-like CLI and a research infrastructure artifact. Its package value comes from reproducibility: a language-definition source can be checked, regenerated, versioned, and consumed by multiple proof assistants and typesetting workflows.

时间线

  • 2007: Ott was presented at ICFP as 'Effective Tool Support for the Working Semanticist'.
  • 2010: The Journal of Functional Programming article expanded the Ott design, motivation, and case studies.
  • 2010: 'Ott or Nott' discussed the experience of using Ott in programming-language design and mechanized-metatheory workflows.
  • 2024: The GitHub README stated that Ott remained in continuous use.

Related projects

  • Ott sits alongside Coq, HOL, Isabelle/HOL, Lem, OCaml, LaTeX, POPLmark, TAPL-style calculi, Lightweight Java, and OCaml-light semantics work.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 构建元数据列出 4 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本0.34
管理器更新时间2026-06-22
本地数据OK
上游当前
检测到的最新版本0.34

https://github.com/ott-lang/ott

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:ott
版本0.34
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ott
主页https://www.cl.cam.ac.uk/~pes20/ott/
仓库https://github.com/ott-lang/ott
上游文档https://github.com/ott-lang/ott#readme
许可证BSD-3-Clause
源码归档https://github.com/ott-lang/ott/archive/refs/tags/0.34.tar.gz
最后更新2026-06-22T14:05:47-07:00
Pulseupdated
构建依赖gmp, ocaml, opam, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libcoq-ott 0.34+ds-1+b4

Ott tool (Coq plugin)

https://github.com/ott-lang/ott

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

ott-tools 0.34+ds-1+b4

Ott tool (executable)

https://github.com/ott-lang/ott

sudo apt install ott-tools
  • Section: ocaml
  • Architecture: amd64
  • Source Package: ott
  • 1 依赖
  • normalized package name match
  • 匹配方式:Ott
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ott-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ott

nix profile install nixpkgs#ott
  • normalized package name match
  • 匹配方式:Ott
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ot/ott/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libcoq-ott 0.33+ds-2build3

Ott tool (Coq plugin)

https://github.com/ott-lang/ott

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

ott-tools 0.33+ds-2build3

Ott tool (executable)

https://github.com/ott-lang/ott

sudo apt install ott-tools
  • Section: universe/ocaml
  • Architecture: amd64
  • Source Package: ott
  • 1 依赖
  • normalized package name match
  • 匹配方式:Ott
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ott-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

ott

sudo port install ott
  • normalized package name match
  • 匹配方式:Ott
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/ott/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

使用的来源

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