"http://www.w3.org/TR/html4/loose.dtd"> >

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 Base classes of TPG parsers
 7.3 Grammar rules
 7.4 Parsing terminal symbols
 7.5 Parsing non terminal symbols
 7.6 Sequences
 7.7 Cut
 7.8 Alternatives
 7.9 Repetitions
 7.10 Precedence and grouping
 7.11 Actions
8 Context sensitive lexer
 8.1 Introduction
 8.2 Grammar structure
 8.3 CSL lexers
 8.4 CSL parsers