Next: Invocation, Previous: Context Dependency, Up: Top [Contents][Index]
Developing a parser can be a challenge, especially if you don’t understand the algorithm (see 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 Tracing Your Parser).
• Understanding: | Understanding the structure of your parser. | |
• Graphviz: | Getting a visual representation of the parser. | |
• Xml: | Getting a markup representation of the parser. | |
• Tracing: | Tracing the execution of your parser. |