~/talk

Compile-Time Regular Expressions

TalkinDutchat NDC TechTown 2019 · 2019-09-02..09-05· [compilers-and-language-design]
slides:none on file

A C++20 library that parses and compiles regular expressions at compile time using constexpr/compile-time strings, producing finite automata embedded in the binary so matching requires no runtime regex parser or separate regex runtime. It implements a constexpr parser, automaton construction, capture and alternation handling, and template-argument-limit workarounds, and presents trade-offs in compile time and binary size with generated assembly and Compiler Explorer comparisons.

AI-written summary · about

  1. 0:00Introduction
  2. 3:50Compile-time regex
  3. 11:27Regex in grammar
  4. 20:00Parser with compile-time regex
  5. 30:50Alternatives and limits
  6. 40:31Performance and caching
  7. 50:26Practical applications
  8. 1:00:14Summary
  9. 1:02:58Q&A
~/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.