mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
545 B
Plaintext
26 lines
545 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# bison
|
|
|
|
> GNU parser generator.
|
|
> More information: <https://manned.org/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|--debug]}} {{path/to/file.y}}`
|
|
|
|
- Specify the output filename:
|
|
|
|
`bison {{[-o|--output]}} {{path/to/output.c}} {{path/to/file.y}}`
|
|
|
|
- Be verbose when compiling:
|
|
|
|
`bison {{[-v|--verbose]}}`
|