Part II
TPG reference


4 Usage
 4.1 Package content
 4.2 Command line usage
5 Grammar structure
 5.1 TPG grammar structure
 5.2 Comments
 5.3 Options
 5.4 Python code
 5.5 TPG parsers
6 Lexer
 6.1 Regular expression syntax
 6.2 Token definition
 6.3 Token matching
7 Parser
 7.1 Declaration
 7.2 Grammar rules
 7.3 Parsing terminal symbols
 7.4 Parsing non terminal symbols
 7.5 Sequences
 7.6 Alternatives
 7.7 Repetitions
 7.8 Precedence and grouping
 7.9 Actions
8 Context sensitive lexer
 8.1 Introduction
 8.2 Grammar structure
 8.3 CSL lexers
 8.4 CSL parsers
9 Debugging
 9.1 Introduction
 9.2 Verbose parsers