Command-line tool
bison
brew/bison
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Parser generator
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
scoop install bison scoop install winflexbison
macOS
brew install bison
Linux
brew install bison
Compile a bison definition file
bison path/to/file.y
Compile in debug mode, which causes the resulting parser to write additional information to `stdout`
bison -t path/to/file.y
Specify the output filename
bison -o path/to/output.c path/to/file.y
Related command-line tools
- jison
A parser generator with Bison's API jison bison yacc parser generator lexer flex tokenizer compiler - lemon
LALR(1) parser generator like yacc or bison - packcc
Parser generator for C - goyacc
Parser Generator for Go - link-grammar
Carnegie Mellon University's link grammar parser - ts-pegjs
TS target for peggy parser generator peggy pegjs plugin ts typescript parser generator - javacc
Parser generator for use with Java applications - menhir
LR(1) parser generator for the OCaml programming language
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents