Next

Chapter 1. Boost.Parser

Zach Laine

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Table of Contents

Introduction
Configuration and Optional Features
This Library's Relationship to Boost.Spirit
Cheat Sheet
Tutorial
Terminology
Hello, Whomever
A Trivial Example
A Trivial Example That Gracefully Handles Whitespace
Semantic Actions
Parsing to Find Subranges
The Parse Context
Rule Parsers
Parsing into structs and classes
Alternative Parsers
Parsing Quoted Strings
Parsing In Detail
Backtracking
Symbol Tables
Mutable Symbol Tables
The Parsers And Their Uses
Directives
Combining Operations
Attribute Generation
The parse() API
More About Rules
Algorithms and Views That Use Parsers
Unicode Support
Callback Parsing
Error Handling and Debugging
Memory Allocation
Best Practices
Writing Your Own Parsers
Extended Examples
Parsing JSON
Parsing JSON With Callbacks
Concepts
Compiler Support
Reference
Header <boost/parser/config.hpp>
Header <boost/parser/error_handling.hpp>
Header <boost/parser/error_handling_fwd.hpp>
Header <boost/parser/parser.hpp>
Header <boost/parser/parser_fwd.hpp>
Header <boost/parser/replace.hpp>
Header <boost/parser/search.hpp>
Header <boost/parser/split.hpp>
Header <boost/parser/subrange.hpp>
Header <boost/parser/transcode_view.hpp>
Header <boost/parser/transform_replace.hpp>
Header <boost/parser/tuple.hpp>
Rationale

Next