# 使用 Homebrew 安装 btparse

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

## 安装

```sh
sudo av install brew:btparse
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install btparse
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:btparse
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/btparse>
- **版本:** 0.35
- **来源摘要:** BibTeX utility libraries
- **主页:** <https://metacpan.org/dist/Text-BibTeX/view/btparse/doc/btparse.pod>
- **上游文档:** <https://metacpan.org/dist/Text-BibTeX/view/btparse/doc/btparse.pod>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://cpan.metacpan.org/authors/id/A/AM/AMBS/btparse/btparse-0.35.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- bibparse (cli)
- bibparse (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.35
- 本地数据: OK
- 上游仓库: https://metacpan.org/dist/Text-BibTeX/view/btparse/doc/btparse.pod
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

btparse is the C parsing library bundled with the Text-BibTeX distribution, exposed to Homebrew users as BibTeX utility libraries. It matters mostly as infrastructure: a small, old, specialized parser that keeps bibliographic tooling from having to reimplement BibTeX syntax.

### 项目历史

Text-BibTeX first appeared on CPAN in March 1997 under Greg Ward's PAUSE account. The distribution wrapped a C library, btparse, for parsing and processing BibTeX data and provided a Perl interface through Text::BibTeX.

The btparse manual describes a lexical scanner, LR parser, AST traversal API, name splitting, TeX string handling, and BibTeX-compatible string manipulation. Later releases moved maintenance to the AMBS PAUSE account and point MetaCPAN users at the GitHub repository.

### 采用历史

Adoption is strongest in the Perl and bibliography-tooling ecosystem, where CPAN distribution history gives Text-BibTeX a long tail. Homebrew's btparse formula packages the native library side for users who need the parser outside a pure CPAN installation.

The package is niche but durable: its public release history spans from 1997 to a latest MetaCPAN release in 2025, which is unusually long-lived for a tiny parser library.

### 使用方式

btparse is used to parse BibTeX entries into an abstract syntax tree, iterate entries and fields, split author-name lists, and apply BibTeX-style string transformations. The Homebrew formula exposes the bibparse executable as the user-facing command.

It is not a credentialed service and does not have an official config file; it is library and command-line parsing infrastructure.

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

btparse is package-nerd archaeology: a C library from the late-1990s Perl/TeX toolchain that still ships through modern package managers because bibliographic formats are sticky and exact parser behavior matters.

It also shows how Homebrew sometimes packages a subcomponent by its native library name even when the canonical upstream distribution identity is a language package, Text-BibTeX.

### 时间线

- 1997: Text-BibTeX 0.1 appears on CPAN under GWARD.
- 1999: Text-BibTeX 0.30-era releases include FAQ and btparse/Text::BibTeX documentation.
- 2025: Text-BibTeX 0.91 is published on MetaCPAN under AMBS with a GitHub repository resource.

### Related projects

- Text::BibTeX is the Perl API built around the btparse parser.
- BibTeX is the original bibliography format and tool whose data language btparse targets.
- MetaCPAN and CPAN are the distribution history surfaces for Text-BibTeX releases.

### 来源

- <https://fastapi.metacpan.org/v1/release/Text-BibTeX>
- <https://fastapi.metacpan.org/v1/release/_search?q=distribution:Text-BibTeX&size=5&sort=date:asc>
- <https://github.com/ambs/Text-BibTeX>
- <https://metacpan.org/dist/Text-BibTeX>
- <https://metacpan.org/dist/Text-BibTeX/view/btparse/doc/btparse.pod>
- <https://metacpan.org/pod/Text::BibTeX>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** btparse
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [md4c](https://pkg.so/zh-hans/brew/md4c/) - Shares pkgdb curated category or tags: cli, developer-tools, library, parser.
- [uriparser](https://pkg.so/zh-hans/brew/uriparser/) - Shares pkgdb curated category or tags: cli, developer-tools, library, parser.
- [urdfdom](https://pkg.so/zh-hans/brew/urdfdom/) - Shares pkgdb curated category or tags: cli, developer-tools, library, parser.
- [sqlparse](https://pkg.so/zh-hans/brew/sqlparse/) - Shares pkgdb curated category or tags: cli, developer-tools, library, parser.
- [htmlcxx](https://pkg.so/zh-hans/brew/htmlcxx/) - Shares pkgdb curated category or tags: cli, developer-tools, library, parser.
- [libidl](https://pkg.so/zh-hans/brew/libidl/) - Shares pkgdb curated category or tags: cli, developer-tools, library, parser.
- [cpp-peglib](https://pkg.so/zh-hans/brew/cpp-peglib/) - Shares pkgdb curated category or tags: cli, developer-tools, library, parser.
- [libucl](https://pkg.so/zh-hans/brew/libucl/) - Shares pkgdb curated category or tags: cli, developer-tools, library, parser.
- [carton](https://pkg.so/zh-hans/brew/carton/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, perl.
- [cpm](https://pkg.so/zh-hans/brew/cpm/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, perl.

## Combined YAML source

View the package source record on GitHub. [combined/btparse.yml](https://github.com/mxcl/pkgdb/blob/main/combined/btparse.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
