Explore a comprehensive conference talk on Maphoon, a C++ based parser generator, presented by Hans de Nivelle at CppNow 2022. Delve into the intricacies of this tool designed for creating parsers in C++, written in C++17. Learn about the parsing process in compiler construction and how Maphoon automatically builds bottom-up parsers from grammar descriptions. Discover the unique feature of defining regular expressions directly in C++ code, offering maximum flexibility without the need to learn new syntax. Examine real-world examples from an actual compiler project and understand how Maphoon supports run-time resolution of shift/reduce conflicts, enabling language extension at runtime. Gain insights from de Nivelle's extensive background in automated theorem proving, compiler construction, and programming language development across various academic institutions.
Overview
Syllabus
Maphoon: A C++ based Parser Generator - Hans de Nivelle - CppNow 2022
Taught by
CppNow