mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 15:54:45 +00:00
Update cheatsheets
This commit is contained in:
25
bison
Normal file
25
bison
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 `stdout`:
|
||||
|
||||
`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`
|
||||
Reference in New Issue
Block a user