Next »
1 Overview
Table of Contents
1 Overview
2 Installation
3 Command Line Usage
4 Propane Grammar File
4.1 User Code Blocks
4.1.1 Standalone Code Blocks
4.1.2 Lexer pattern code blocks
4.1.2.1 C/C++
4.1.2.2 D
4.1.3 Parser rule code blocks
4.2 context_user_fields statement - adding custom fields to the context
4.3 drop statement - ignoring input patterns
4.4 free_token_node statement - freeing user-allocated memory in token node fields
4.5 module statement - specifying the generated parser module name
4.6 on_tree_node statement - custom initialization of a token tree node
4.7 prefix statement - specifying the generated API prefix
4.8 ptype statement - specifying parser value types
4.9 start statement - specifying the parser start rule name
4.10 token statement - specifying tokens
4.11 tokenid statement - defining tokens without a matching pattern
4.12 token_user_fields statement - adding custom token fields
4.13 tree statement - tree generation mode
4.14 tree_prefix and tree_suffix statements
4.15 Specifying a lexer pattern
4.16 Regular expression syntax
4.17 Lexer modes
4.18 Specifying parser rules
4.19 User termination of the lexer or parser
5 Propane generated API
5.1 Constants
5.2 Types
5.2.1 p_code_point_t
5.2.2 p_context_t
5.2.3 p_position_t
5.2.4 p_token_info_t
5.2.5 Tree Node Types
5.2.5.1 Tree Node Fields
5.3 Functions
5.3.1 p_context_new
5.3.2 p_context_delete
5.3.3 p_lex
5.3.4 p_parse
5.3.5 p_position_valid
5.3.6 p_result
5.3.7 p_position
5.3.8 p_user_terminate_code
5.3.9 p_token
5.3.10 p_decode_code_point
5.3.11 p_tree_delete
5.4 Data
5.4.1 p_token_names
6 License
7 Contributing
8 Change Log
Next »
1 Overview