mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
bison: add page (#3722)
This commit is contained in:
parent
82ae3bc0db
commit
eb0fe6392b
1 changed files with 20 additions and 0 deletions
20
pages/common/bison.md
Normal file
20
pages/common/bison.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# bison
|
||||||
|
|
||||||
|
> GNU parser generator.
|
||||||
|
> More information: <https://www.gnu.org/software/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 the standard output:
|
||||||
|
|
||||||
|
`bison --debug {{path/to/file.y}}`
|
||||||
|
|
||||||
|
- Specify the output filename:
|
||||||
|
|
||||||
|
`bison --output {{path/to/output.c}} {{path/to/file.y}}`
|
||||||
|
|
||||||
|
- Be verbose when compiling:
|
||||||
|
|
||||||
|
`bison --verbose`
|
Loading…
Add table
Reference in a new issue