macOS
brew install antlrlocal Homebrew formula metadata
sudo port install antlrMacPorts ports tree · lang/antlr/Portfile · ソース: api.github.com
brew
antlr のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install antlrlocal Homebrew formula metadata
sudo port install antlrMacPorts ports tree · lang/antlr/Portfile · ソース: api.github.com
sudo apt install antlrDebian stable package indexes · antlr · ソース: deb.debian.org
sudo dnf install antlr-C++Fedora Rawhide package metadata · antlr-C++ · ソース: dl.fedoraproject.org
nix profile install nixpkgs#antlrnixpkgs package indexes · antlr · ソース: raw.githubusercontent.com
sudo zypper install antlropenSUSE Tumbleweed package metadata · antlr · ソース: download.opensuse.org
概要
ANother Tool for Language Recognition
履歴
ANTLR, short for ANother Tool for Language Recognition, is a long-running parser-generator project led by Terence Parr. Its package-manager identity is the classic command-line compiler-tool shape: install a runtime/tool, write a grammar, generate parser code, and wire that generated code into a language, protocol, data-format, or DSL implementation.
The official site describes ANTLR as a parser generator for reading, processing, executing, or translating structured text or binary files, and notes that Parr has worked on language tools since 1989. ANTLR 4 is the modern generation of the project; its repository documentation says major version bumps happen when the tool is rewritten for a new generation, specifically citing the ANTLR 3 to ANTLR 4 move from LL(*) to ALL(*) parsing.
ANTLR 4 consolidated the tool and runtimes in one coordinated release line. The README explains that a release covers the tool plus all supported runtimes at the same version, because cross-target consistency is part of the project contract. That policy makes ANTLR feel unlike many single-language packages: a Homebrew user installing the CLI is also installing into a cross-language ecosystem.
ANTLR became important wherever teams needed maintainable parsers without hand-writing lexers and recursive-descent parsers. The official README says it is widely used to build languages, tools, and frameworks, and the docs point to grammars-v4 as a companion repository of reusable grammars.
The ANTLR 4 line broadened adoption by supporting multiple code-generation targets. The README currently lists C++, C#, Dart, Java, JavaScript, PHP, Python 3, Swift, TypeScript, and Go, with a dedicated Go runtime repository for Go module consumption while development still happens in the main repository.
The package is used from the command line to turn a grammar into parser and lexer code, then optionally inspect parse trees during development. The official site's quick start shows installing the modern antlr4-tools wrapper, writing an Expr.g4 grammar, using antlr4-parse to visualize a parse tree, and running antlr4 to generate source files.
In package-manager culture, ANTLR sits with bison, yacc, ragel, tree-sitter, and compiler toolchains: it is not usually an end-user app, but it is a dependency that creates other code. That makes version pinning and generated-output reproducibility matter, especially because the README recommends regenerating parsers with each minor release.
ANTLR is a package nerd's parser-generator benchmark: old enough to have multiple major generations, portable enough to ship runtimes for many languages, and opinionated enough that its release policy is explicitly documented. The Homebrew formula name is the short historical name, while upstream's current docs distinguish the ANTLR 4 tool, runtimes, generated parsers, and related grammar collections.
It also illustrates why source packages and generated-code packages are different operational animals. Updating the CLI can imply regenerating checked-in parser code, updating runtime packages in several languages, and checking target-specific compatibility rather than treating the version as a simple semver patch.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
antlr | cli | グローバル実行可能ファイル | |
grun | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:antlr |
|---|---|
| バージョン | 4.13.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/antlr |
| ホームページ | https://www.antlr.org/ |
| リポジトリ | https://github.com/antlr/antlr4 |
| 上流ドキュメント | https://github.com/antlr/antlr4/blob/master/doc/index.md |
| ライセンス | BSD-3-Clause |
| ソースアーカイブ | https://www.antlr.org/download/antlr-4.13.2-complete.jar |
| 最終更新 | 2026-06-22T14:02:43-07:00 |
| Pulse | updated |
| 依存関係 | openjdk |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | antlr |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
antlr 2.7.7+dfsg-14
language tool for constructing recognizers, compilers etc
sudo apt install antlrantlr-doc 2.7.7+dfsg-14
language tool for constructing recognizers, compilers etc
sudo apt install antlr-doclibantlr-dev 2.7.7+dfsg-14
language tool for constructing recognizers, compilers etc
sudo apt install libantlr-devlibantlr-java 2.7.7+dfsg-14
language tool for constructing recognizers, compilers etc (java library)
sudo apt install libantlr-javapython3-antlr 2.7.7+dfsg-14
language tool for constructing recognizers, compilers etc - Python 3.x
sudo apt install python3-antlrantlr
nix profile install nixpkgs#antlrantlr 2.7.7+dfsg-13build1
language tool for constructing recognizers, compilers etc
sudo apt install antlrantlr-doc 2.7.7+dfsg-13build1
language tool for constructing recognizers, compilers etc
sudo apt install antlr-doclibantlr-dev 2.7.7+dfsg-13build1
language tool for constructing recognizers, compilers etc
sudo apt install libantlr-devlibantlr-java 2.7.7+dfsg-13build1
language tool for constructing recognizers, compilers etc (java library)
sudo apt install libantlr-javapython3-antlr 2.7.7+dfsg-13build1
language tool for constructing recognizers, compilers etc - Python 3.x
sudo apt install python3-antlrantlr-C++ 2.7.7-90.fc44
C++ bindings for antlr2 generated parsers
sudo dnf install antlr-C++antlr-manual 2.7.7-90.fc44
Manual for antlr
sudo dnf install antlr-manualantlr-tool 2.7.7-90.fc44
ANother Tool for Language Recognition
sudo dnf install antlr-toolantlr 2.7.7-126.2
Another Tool for Language Recognition
sudo zypper install antlrantlr-devel 2.7.7-126.2
ANother Tool for Language Recognition (c++ runtime)
sudo zypper install antlr-develソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.