Boost.Spirit Tutorial
Parsing Structured Text with C++
Timo Bingmann
- 12. September 2018 @ Karlsruhe C++ Meetup
Boost.Spirit Tutorial Parsing Structured Text with C++ Timo - - PowerPoint PPT Presentation
Boost.Spirit Tutorial Parsing Structured Text with C++ Timo Bingmann 12. September 2018 @ Karlsruhe C++ Meetup Boost.Spirit Tutorial Parsing Structured Text with C++ Timo Bingmann 12. September 2018 @ Karlsruhe C++ Meetup What is This Talk
3
4
5
http://seriot.ch/parsing_json.php 6
7
8
from Wikipedia
9
from Wikipedia
10
11
from https://xkcd.com/208/
12
13
14
from http://web.stanford.edu/class/cs143/ 15
16
17
from Boost.Spirit documentation
18
19
1 Learn to walk and parse simple integers and lists.
2 Create a parser for a simple arithmetic grammar.
3 Parse CSV data directly into a C++ struct.
4 Create an abstract syntax tree (AST) from arithmetic.
5 Ogle some more crazy examples, e.g. how to parse
20
21