[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
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:
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 ] | [ >> ] |
This document was generated by Rick Perry on December 29, 2013 using texi2html 1.82.