Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. GNU bison,
commonly known as Bison, is a parser generator that is part of the GNU
Project. Bison reads a specification of a context-free language, warning
about any parsing ambiguities, and generates a parser (either in C, C++,
or Java) which reads sequences of tokens and decides whether the
sequence conforms to the syntax specified by the grammar. Bison
generates LALR parsers. Bison also supports "Generalized Left-to-right
Rightmost" (GLR) parsers for grammars that are not LALR. In POSIX mode,
Bison is compatible with Yacc, but also supports several improvements
over this earlier program. The tokens read by Bison are sometimes
generated by flex, an automatic lexical analyser.