Automic VaultAutomic Vault

brew

goyacc を Homebrew でインストール

goyacc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install goyacc

local Homebrew formula metadata

概要

パッケージ概要

Parser Generator for Go

コマンドとエイリアス

  • goyacc

履歴

プロジェクトの歴史と使われ方

modernc.org/goyacc is Jan Mercl's Go parser-generator command derived from the Go toolchain's goyacc lineage. It reads yacc grammars and emits Go parsers, while adding compatibility and diagnostics features beyond the older `go tool yacc` style.

プロジェクトの歴史

The modernc.org implementation begins in public history in November 2014. Its source comments state that it uses portions of code previously published in the Go tool `yacc` program, while the Go tools documentation describes that upstream goyacc as largely transliterated from Inferno's Limbo version, itself largely transliterated from the Plan 9 C version.

The project moved its import path and repository root to modernc.org in 2018, and pkg.go.dev records `gitlab.com/cznic/goyacc` as the repository for the modernc.org module.

採用の歴史

goyacc is part of a long Unix parser-generator tradition adapted for Go. The Go project used goyacc as an example in the Go 1.4 `go generate` announcement, showing how generated parsers fit into Go package maintenance even though generation is run explicitly by package authors.

使われ方

The command accepts a yacc input file or standard input and writes a Go parser, defaulting to `y.go`, with options for the symbol prefix, parser report output, follow sets, conflict explanations, and generated error examples. Generated parsers use a Go lexer interface instead of C yacc globals.

パッケージ好きにとっての重要性

For package maintainers, goyacc is a compact bridge between old compiler-construction workflows and Go modules: grammars can live beside Go source, generation can be driven by `go generate`, and the installed binary is small enough to package directly in Homebrew.

タイムライン

  • 2014: modernc.org/goyacc public history begins and records the initial release work.
  • 2014: Go 1.4 introduces `go generate`, with goyacc used as a code-generation example.
  • 2015: The modernc.org command adds generated error-message support via examples.
  • 2017: The command adds follow-set reporting.
  • 2018: The project moves its repository root to modernc.org and tags v1.0.0.
  • 2023: v1.0.3 tag updates dependencies.

Related projects

  • golang.org/x/tools/cmd/goyacc is the Go tools implementation in the same yacc-for-Go lineage.
  • Plan 9 yacc and Inferno yacc are earlier implementations named in the Go tools documentation.
  • modernc.org/y and modernc.org/parser/yacc are related modernc parser packages used by the command.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
goyacccliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版1.0.3
マネージャ更新日2026-06-13
ローカルデータOK
上流not checked
検出された最新未検出

https://pkg.go.dev/modernc.org/goyacc

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:goyacc
バージョン1.0.3
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/goyacc
ホームページhttps://pkg.go.dev/modernc.org/goyacc
リポジトリhttps://gitlab.com/cznic/goyacc
上流ドキュメントhttps://pkg.go.dev/modernc.org/goyacc
ライセンスBSD-3-Clause
ソースアーカイブhttps://gitlab.com/cznic/goyacc/-/archive/v1.0.3/goyacc-v1.0.3.tar.bz2
最終更新2026-06-13T23:34:57+02:00
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegoyacc
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment