~/talk

Expressive Compile Time Parsers

Talkat Core C++ 2023 · 2023-06-05..06-07· [c-and-cpp, compilers-and-language-design]
name:Alon Wolf
links:none on file
slides:none on file

Shows that compile-time parsers work in real C++: Boost.Metaparse (C++98/11 tricks) to build compile-time strings, lexi (C++17) for composable parser combinators, CTRE for compile-time regex with zero runtime overhead and runtime performance on par with Boost.Regex and faster than std::regex. Demonstrates an SQL-like literal that compiles to a lambda, a dot-path DSL that generates identical assembly to hand-written code, and a CTLR parser generator (ctpg) for LR1 tables; compile-time cost rises but simple syntaxes stay practical.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:13Domain specific languages
  3. 5:04Boost.Metaparse overview
  4. 8:39Lexi library introduction
  5. 10:51Compile Time Regex library
  6. 13:19CTPG parser generator
  7. 15:28Macro.Rules library
  8. 17:14Reflection and compile time parsers
  9. 23:47Zero-overhead abstractions
  10. 26:00Future of compile time parsing
  11. 27:24Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.