| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
8 Debugging Your Parser
Developing a parser can be a challenge, especially if you don’t understand the algorithm (see section The Bison Parser Algorithm). This chapter explains how understand and debug a parser.
The first sections focus on the static part of the parser: its structure. They explain how to generate and read the detailed description of the automaton. There are several formats available:
- - as text, see Understanding Your Parser;
- - as a graph, see Visualizing Your Parser;
- - or as a markup report that can be turned, for instance, into HTML, see Visualizing your parser in multiple formats.
The last section focuses on the dynamic part of the parser: how to enable and understand the parser run-time traces (see section Tracing Your Parser).
| 8.1 Understanding Your Parser | Understanding the structure of your parser. | |
| 8.2 Visualizing Your Parser | Getting a visual representation of the parser. | |
| 8.3 Visualizing your parser in multiple formats | Getting a markup representation of the parser. | |
| 8.4 Tracing Your Parser | Tracing the execution of your parser. | 
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
 
  This document was generated on December 1, 2013 using texi2html 5.0.
 
 
