Items ordered from the shop between April 23rd and April 29th will be shipped on April 30th. Sorry for any inconvenience.
The Bison Manual, v. 1.875 (discounted)
This edition for Bison version 1.875 has an expanded 'Concepts' and 'Grammar Files' sections, and a greatly expanded 'Debugging Your Parser' section. There is also a new FAQ section added to the appendix. Some obsolete material was also removed.
Bison is a general-purpose parser generator that can help the C programmer develop a wide range of language parsers, from those used in simple desktop calculators to complex programming languages. The Bison manual provides a quick overview of the theory behind context-free grammars and semantic values. It has both an introductory tutorial section with examples and a reference section which explores parts of Bison in detail.
This book teaches you:
- Basic concepts of context-free grammars
- Basic concepts of semantic values and actions
- Bison grammar rules and syntax
- Stages in writing and running Bison grammars
- C-Language interface to the parser function yyparse()
- How to parse more than one language in the same program
- How to detect when an operation for a new node type was not implemented
- How to ensure that a new operation covers all existing node types adequately
- The Lexical Analyzer Function yylex()
- Writing rules for error recovery and yyerror()
- And how to apply the GNU General Public License to your new program.
This text assumes the reader already knows the C Programming Language.
This manual provides a quick overview of parser generator theory, context-free grammars and semantic values. The introductory tutorial section explains the basic concepts of using Bison and shows three examples, each building on the last. If you don't know Bison or Yacc, start by reading these chapters. The following reference sections explain in greater detail and also cover other supporting programs such as yyparse(), yylex(), and yyerror(). A glossary and symbol table are also included. Download an electronic copy of this book