macOS
brew install mltonlocal Homebrew formula metadata
sudo port install mltonMacPorts ports tree · lang/mlton/Portfile · 来源: api.github.com
安装
brew install mltonlocal Homebrew formula metadata
sudo port install mltonMacPorts ports tree · lang/mlton/Portfile · 来源: api.github.com
sudo dnf install mltonFedora Rawhide package metadata · mlton · 来源: dl.fedoraproject.org
nix profile install nixpkgs#mltonnixpkgs package indexes · mlton · 来源: raw.githubusercontent.com
sudo pacman -S mltonArch Linux sync databases · mlton · 来源: geo.mirror.pkgbuild.com
sudo apt install mltonUbuntu 24.04 LTS package indexes · mlton · 来源: archive.ubuntu.com
概览
Whole-program, optimizing compiler for Standard ML
历史
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
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mllex | cli | 全局可执行文件 | |
mlnlffigen | cli | 全局可执行文件 | |
mlprof | cli | 全局可执行文件 | |
mlton | cli | 全局可执行文件 | |
mlyacc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | gmp |
| 构建依赖 | autoconf, automake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mlton |
| Version Scheme | 1 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
mlton
nix profile install nixpkgs#mltonmlton 20210117+dfsg-3
Optimizing compiler for Standard ML
sudo apt install mltonmlton-basis 20210117+dfsg-3
Optimizing compiler for Standard ML - basis library
sudo apt install mlton-basismlton-compiler 20210117+dfsg-3
Optimizing compiler for Standard ML - compiler
sudo apt install mlton-compilermlton-doc 20210117+dfsg-3
Optimizing compiler for Standard ML - documentation
sudo apt install mlton-docmlton-runtime-native 20210117+dfsg-3
Optimizing compiler for Standard ML - native runtime libraries
sudo apt install mlton-runtime-nativemlton-runtime-x86-64-linux-gnu 20210117+dfsg-3
Optimizing compiler for Standard ML - amd64 runtime libraries
sudo apt install mlton-runtime-x86-64-linux-gnumlton-tools 20210117+dfsg-3
Optimizing compiler for Standard ML - tools
sudo apt install mlton-toolsmlton 20210117-12.fc44
Optimizing compiler for Standard ML
sudo dnf install mltonmlton 20241230-1
Whole-program optimizing Standard ML compiler
sudo pacman -S mltonmlton
sudo port install mlton来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.