Bison Manual for Version 1.875
Book Details
Description
* 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 book 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.
