From Wikipedia, the free encyclopedia
GNU bison is a parser generator that is part of the GNU project. Bison converts a grammar description for a context-free grammar into a C or C++ program which can parse a sequence of tokens that conforms to that grammar (a LALR parser). It can also produce "Generalized Left-to-right Rightmost" (GLR) parsers for ambiguous grammars.
Bison is largely compatible with Yacc, and offers several improvements over this earlier program. It is sometimes used in conjunction with flex, an automatic lexical analyser.
The software is freely available in source code form. The output from bison used to also be protected under the GPL, due to the inclusion of the yyparse() function from the original source code in the output. However, an exception was made, to allow proprietary use of the output.[1]
[edit] References
[edit] External links
|
GNU Project |
|
| History |
|
 |
|
| Licenses |
|
|
| Software |
|
|
| Public speakers |
|
|
| Other topics |
|
|