Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, Nix, pacman, apt 安装 mlton

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mlton

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install mlton

MacPorts ports tree · lang/mlton/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install mlton

Fedora Rawhide package metadata · mlton · 来源: dl.fedoraproject.org

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

nixpkgs package indexes · mlton · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S mlton

Arch Linux sync databases · mlton · 来源: geo.mirror.pkgbuild.com

Ubuntu apt已验证 · 92%
sudo apt install mlton

Ubuntu 24.04 LTS package indexes · mlton · 来源: archive.ubuntu.com

概览

软件包摘要

Whole-program, optimizing compiler for Standard ML

命令和别名

  • mllex
  • mlnlffigen
  • mlprof
  • mlton
  • mlyacc

历史

项目历史与用法

MLton grew out of Standard ML compiler research in the late 1990s. The project history traces its start to April 1997, when Stephen Weeks wrote a defunctorizer for Standard ML and integrated it with SML/NJ. That origin explains the shape of the compiler: MLton is not an interactive SML environment, but a whole-program compiler that takes the complete program as input and uses that global view for optimization.

项目历史

The project became known in the Standard ML community for aggressive whole-program optimization and standalone native executables. Its own repository describes support for SML97, a complete Standard ML Basis Library, the ML Basis system, a C foreign-function interface, source-level profiling, mllex, mlyacc, and mlnlffigen. The implementation emphasizes small executables and runtime performance through unboxed representations, native arrays, GMP-backed arbitrary precision arithmetic, multiple code generators, and multiple garbage-collection strategies.

使用方式

In package-manager terms, MLton occupies the serious native-code SML compiler niche alongside SML/NJ, Poly/ML, and MLKit rather than the lightweight scripting or teaching niche. It is used when SML code needs to be compiled into fast standalone programs, when whole-program analysis is useful, or when tools from the MLton distribution such as mllex, mlyacc, and mlprof are part of the workflow.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mllexcli全局可执行文件
mlnlffigencli全局可执行文件
mlprofcli全局可执行文件
mltoncli全局可执行文件
mlyacccli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本20241230
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

http://mlton.org

  • 信息Release/tag comparison is only available for GitHub repositories.http://mlton.orgnone 置信度

安装元数据

软件包元数据

软件包键brew:mlton
版本20241230
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mlton
主页http://mlton.org
仓库https://github.com/MLton/mlton
上游文档https://www.mlton.org/Documentation
许可证HPND
源码归档https://downloads.sourceforge.net/project/mlton/mlton/20241230/mlton-20241230.src.tgz
最后更新2026-06-22T14:05:30-07:00
Pulseupdated
依赖gmp
构建依赖autoconf, automake
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 Namemlton
Version Scheme1
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Nix95%

mlton

nix profile install nixpkgs#mlton
  • normalized package name match
  • 匹配方式:Mlton
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: mlton from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

mlton 20210117+dfsg-3

Optimizing compiler for Standard ML

http://mlton.org/

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

mlton-basis 20210117+dfsg-3

Optimizing compiler for Standard ML - basis library

http://mlton.org/

sudo apt install mlton-basis
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: mlton
  • normalized package name match
  • 匹配方式:Mlton
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mlton-basis from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mlton-compiler 20210117+dfsg-3

Optimizing compiler for Standard ML - compiler

http://mlton.org/

sudo apt install mlton-compiler
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: mlton
  • 7 依赖
  • normalized package name match
  • 匹配方式:Mlton
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mlton-compiler from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mlton-doc 20210117+dfsg-3

Optimizing compiler for Standard ML - documentation

http://mlton.org/

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

mlton-runtime-native 20210117+dfsg-3

Optimizing compiler for Standard ML - native runtime libraries

http://mlton.org/

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

mlton-runtime-x86-64-linux-gnu 20210117+dfsg-3

Optimizing compiler for Standard ML - amd64 runtime libraries

http://mlton.org/

sudo apt install mlton-runtime-x86-64-linux-gnu
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: mlton
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mlton
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mlton-runtime-x86-64-linux-gnu from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mlton-tools 20210117+dfsg-3

Optimizing compiler for Standard ML - tools

http://mlton.org/

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

mlton 20210117-12.fc44

Optimizing compiler for Standard ML

http://mlton.org/

sudo dnf install mlton
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mlton
  • 8 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mlton
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mlton from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

mlton 20241230-1

Whole-program optimizing Standard ML compiler

http://mlton.org/

sudo pacman -S mlton
  • License: HPND AND MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mlton
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mlton from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

mlton

sudo port install mlton
  • normalized package name match
  • 匹配方式:Mlton
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/mlton/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