macOS
brew install metashelllocal Homebrew formula metadata
安装
brew install metashelllocal Homebrew formula metadata
概览
Metaprogramming shell for C++ templates
历史
Metashell is a C++ template metaprogramming REPL: its project README describes the goal as providing an interactive shell for template metaprogramming, and the project documentation frames it as the C++ template analogue of Python, Haskell, or Erlang interactive shells. Its core niche is making compile-time C++ template evaluation inspectable without forcing developers to encode every experiment as compiler diagnostics.
The tool is tied to the mid-2010s wave of C++ metaprogramming tooling around Clang and Templight. Public Templight material names Abel Sinkovics and Andras Kucsma in connection with Metashell, and a Meeting C++ 2014 talk presented an interactive metaprogramming shell based on Clang. Metashell's own documentation says it uses Clang to evaluate metaprograms, while later discussion of Metashell 2.0.0 highlighted a GDB-like template metaprogram debugger.
In practice, Metashell is used by C++ library authors and template-heavy codebases to experiment with types, evaluate metaprograms, and debug template instantiation flows. Boost.Metaparse documentation explicitly assumes Metashell can be used while building compile-time parsers, which places it in the same ecosystem as Boost.MPL, Metaparse, Clang, and Templight rather than in general-purpose C++ build tooling. The Homebrew package exposes both metashell and templight_metashell, matching that role as a specialist command-line tool for template metaprogramming work.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
metashell | cli | 全局可执行文件 | |
templight_metashell | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/metashell/metashell
安装元数据
| 软件包键 | brew:metashell |
|---|---|
| 版本 | 5.0.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/metashell |
| 主页 | http://metashell.org |
| 仓库 | https://github.com/metashell/metashell |
| 上游文档 | http://metashell.org |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://github.com/metashell/metashell/archive/refs/tags/v5.0.0.tar.gz |
| 依赖 | zstd |
| 构建依赖 | cmake |
| macOS 提供的库 | libedit, libxml2 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | metashell |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.