macOS
brew install castxmllocal Homebrew formula metadata
sudo port install castxmlMacPorts ports tree · lang/castxml/Portfile · 来源: api.github.com
安装
brew install castxmllocal Homebrew formula metadata
sudo port install castxmlMacPorts ports tree · lang/castxml/Portfile · 来源: api.github.com
sudo apt install castxmlDebian stable package indexes · castxml · 来源: deb.debian.org
sudo dnf install castxmlFedora Rawhide package metadata · castxml · 来源: dl.fedoraproject.org
nix profile install nixpkgs#castxmlnixpkgs package indexes · pkgs/by-name/ca/castxml/package.nix · 来源: api.github.com
sudo pacman -S castxmlArch Linux sync databases · castxml · 来源: geo.mirror.pkgbuild.com
sudo zypper install CastXML-developenSUSE Tumbleweed package metadata · CastXML-devel · 来源: download.opensuse.org
scoop install main/castxmlScoop official bucket manifest trees · bucket/castxml.json · 来源: api.github.com
概览
C-family Abstract Syntax Tree XML Output
历史
CastXML is a developer tool that parses C-family source files and writes a subset of the abstract syntax tree as XML. The upstream README describes it as maintained by Kitware in support of ITK, the Insight Segmentation and Registration Toolkit.
The project is built around LLVM/Clang: its manual says source files are parsed as complete translation units by an internal Clang compiler. It also includes a --castxml-gccxml mode that emits XML close to GCC-XML, making it important for code-generation and binding workflows that previously expected GCC-XML-style output.
The supplied package facts show CastXML distributed across Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, and openSUSE. That breadth matches its niche but durable role as infrastructure for C/C++ introspection workflows rather than an end-user command.
Typical use is command-line AST extraction: pass source files, Clang options, and CastXML options, then request XML output with --castxml-output or GCC-XML-compatible output with --castxml-gccxml. The manual also documents compiler-target matching with --castxml-cc-* options.
CastXML is package-nerd significant because it packages compiler-internal structure as a stable CLI artifact. It lets downstream tools depend on a packaged executable instead of embedding all of Clang's C++ APIs or reviving GCC-XML.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
castxml | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/CastXML/CastXML
安装元数据
| 软件包键 | brew:castxml |
|---|---|
| 版本 | 0.7.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/castxml |
| 主页 | https://github.com/CastXML/CastXML |
| 仓库 | https://github.com/CastXML/CastXML |
| 上游文档 | https://github.com/CastXML/CastXML#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/CastXML/CastXML/archive/refs/tags/v0.7.0.tar.gz |
| 依赖 | llvm |
| 构建依赖 | cmake |
| 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 | castxml |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
castxml 0.6.11-1
C-family abstract syntax tree XML output tool
https://github.com/CastXML/CastXML
sudo apt install castxmlcastxml
nix profile install nixpkgs#castxmlcastxml 0.6.3-1build2
C-family abstract syntax tree XML output tool
https://github.com/CastXML/CastXML
sudo apt install castxmlcastxml 0.7.0-1.fc45
C-family abstract syntax tree XML output tool
https://github.com/CastXML/CastXML
sudo dnf install castxmlcastxml 0.7.0-2
C-family abstract syntax tree XML output tool
https://github.com/CastXML/CastXML
sudo pacman -S castxmlCastXML-devel 0.7.0-1.4
C-family Abstract Syntax Tree XML Output
https://github.com/CastXML/CastXML
sudo zypper install CastXML-develcastxml
sudo port install castxmlmain/castxml
scoop install main/castxml来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.