Главная
Study mode:
on
1
Introduction
2
Spirit X3
3
Michael Caisse
4
What is Spirit
5
Avoiding Regex
6
Peg Grammar
7
Host Question
8
Spirit Grammar
9
Concepts
10
Rules
11
Parser
12
Parser Examples
13
x3parse
14
Parsers
15
Character parsers
16
Combining parsers
17
Sequence
18
Pipe
19
Evaluate
20
Cleanstar
21
Look Ahead
22
Difference
23
Expectations
24
Example
25
String type pairs
26
Rules overview
27
Name parser
28
Auto
29
Rules are different
30
Rules are lightweight
31
Space Skipper
32
Grammar
33
Attribute Synthesis
34
Attribute Compatibility
Description:
Explore the fundamentals of Spirit X3, a powerful parsing library for C++14, in this comprehensive conference talk from CppNow. Dive into the world of domain-specific embedded language (DSEL) parsing as Michael Caisse and Joel de Guzman guide you through building grammars, selecting appropriate data structures, and implementing useful patterns. Learn how to capture line numbers, handle context on failures, and solve real-world parsing problems. Discover why Spirit X3 compiles faster, runs faster, and offers a more user-friendly experience compared to its predecessor. Gain insights into concepts such as rules, parsers, character parsers, combining parsers, and attribute synthesis. Master techniques like sequence, pipe, evaluate, clean star, look ahead, and difference expectations. By the end of this talk, you'll be equipped to employ Spirit X3 for all your parsing needs in modern C++ development.

Using Spirit X3, Part I

CppNow
Add to list