macOS
brew install byacclocal Homebrew formula metadata
sudo port install byaccMacPorts ports tree · devel/byacc/Portfile · source: api.github.com
brew
(Arguably) the best yacc variant. Version 20260126 via Homebrew; verified from local package data.
install
brew install byacclocal Homebrew formula metadata
sudo port install byaccMacPorts ports tree · devel/byacc/Portfile · source: api.github.com
sudo apk add byaccAlpine Linux edge package indexes · byacc · source: dl-cdn.alpinelinux.org
sudo apt install byaccDebian stable package indexes · byacc · source: deb.debian.org
sudo dnf install byaccFedora Rawhide package metadata · byacc · source: dl.fedoraproject.org
nix profile install nixpkgs#byaccnixpkgs package indexes · pkgs/by-name/by/byacc/package.nix · source: api.github.com
sudo pacman -S byaccArch Linux sync databases · byacc · source: geo.mirror.pkgbuild.com
sudo zypper install byaccopenSUSE Tumbleweed package metadata · byacc · source: download.opensuse.org
scoop install main/byaccScoop official bucket manifest trees · bucket/byacc.json · source: api.github.com
overview
(Arguably) the best yacc variant
history
Berkeley Yacc, usually packaged as byacc, is a public-domain yacc-compatible LALR(1) parser generator. It is valued as a small, portable yacc implementation that avoids the heavier dependencies and dialect assumptions of some alternatives.
Thomas E. Dickey's official BYACC page says Robert Corbett wrote byacc around 1990 and notes Corbett was also the original author of bison. The page cites its compatibility with original yacc and records that Dickey later converted the original K&R C source to ANSI C and continued maintaining it.
The original README, preserved in the maintained source tree, states that Berkeley Yacc accepts input conforming to AT&T yacc documentation, is distributed in the public domain, and allows generated parsers to be distributed freely.
BYACC became popular because it was fast, BSD/public-domain-friendly, and yacc-compatible. The official page quotes John Levine's later account that Corbett's implementation was faster than AT&T yacc and quickly became the most popular yacc variant.
The official related-links section points to Debian packages, FreeBSD and NetBSD sources or package collections, and notes that FreeBSD imported this maintained version into its vendor tree in 2012. The supplied package facts show broad packaging across Homebrew, Alpine, Debian, Fedora, MacPorts, Nix, Pacman, Scoop, Ubuntu, and zypper.
byacc is used as a yacc replacement in build systems and compiler-toolchain work: it reads a grammar and emits C parser source. It is often chosen when projects want yacc compatibility, small generated output, permissive/public-domain licensing, and portability to non-GCC or older C environments.
byacc is package-nerd significant because it is one of the classic parser generators that still matters in modern ports trees. It is tiny but strategically important: swapping yacc implementations can change generated C, expose build assumptions, or avoid a dependency on GNU bison.
Its public-domain status and generated-parser licensing are part of why it persists in base systems, embedded build environments, and conservative packaging stacks.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
byacc | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://invisible-island.net/byacc/
install metadata
| Package key | brew:byacc |
|---|---|
| Version | 20260126 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/byacc |
| Homepage | https://invisible-island.net/byacc/ |
| Upstream docs | https://invisible-island.net/byacc |
| License | LicenseRef-Homebrew-public-domain |
| Source archive | https://invisible-mirror.net/archives/byacc/byacc-20260126.tgz |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | byacc |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
byacc 1:2.0.20241231-1
public domain Berkeley LALR Yacc parser generator
https://invisible-island.net/byacc/
sudo apt install byaccbyacc
nix profile install nixpkgs#byaccbyacc 1:2.0.20221106-1
public domain Berkeley LALR Yacc parser generator
https://invisible-island.net/byacc/
sudo apt install byaccbyacc 20260126-r0
The Berkeley Yacc general-purpose parser generator
https://invisible-island.net/byacc/byacc.html
sudo apk add byaccbyacc-doc 20260126-r0
The Berkeley Yacc general-purpose parser generator (documentation)
https://invisible-island.net/byacc/byacc.html
sudo apk add byacc-docbyacc 2.0.20241231-3.fc44
Berkeley Yacc, a parser generator
http://invisible-island.net/byacc/byacc.html
sudo dnf install byaccbyacc 20260126-1
Berkeley reimplementation of the Unix parser generator Yacc
https://invisible-island.net/byacc/
sudo pacman -S byaccbyacc 20260126-1.1
LALR(1) parser generator
https://invisible-island.net/byacc/byacc.html
sudo zypper install byaccbyacc
sudo port install byaccmain/byacc
scoop install main/byaccsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.