~/talk

Boost.Parser (Part 1 of 2) - A Parser Combinator Library for C++

Talkat C++Now 2024 · 2024-04-29..05-03· [compilers-and-language-design]
links:none on file
slides:none on file

Boost.Parser is a new Boost candidate (C++17+) that grafts Spirit 2’s ergonomics onto X3’s modernization, claiming much shorter compile times and safer diagnostics. It exposes parse / prefix_parse overloads with skipper support, uses Boost.Charon for fast numeric parsing, and implements container-aware attribute insertion so parsed sequences can be fed directly into sets, vectors or user structs. Parsers are cheap to construct (no hidden allocations), support permutation, expectation points, semantic actions, and a small set of documented collapsing rules for predictable attribute types.

AI-written summary · about

  1. 0:00Introduction to Boost.Parser
  2. 1:04Why Boost.Parser exists
  3. 10:12Basic parser example
  4. 23:10Parser implementation details
  5. 37:39Attribute generation rules
  6. 58:45Out-parameter matching
  7. 1:09:41Semantic actions explained
  8. 1:21:42Semantic actions vs attributes
  9. 1:26:14Q&A and summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.