Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Grab it
Explore the intricacies of generating parsers in C++ with Maphoon in this CppCon 2022 conference talk. Delve into theory-based bottom-up parsing as Hans de Nivelle introduces a C++17 tool for creating efficient parsers. Learn about the two-stage parsing process, including tokenizing and building Abstract Syntax Trees (AST). Discover how to use regular expressions and custom code for tokenizing, and how to describe formal grammars to build ASTs. Gain insights into the tool's user-friendly design, support for modern C++, and its ability to demonstrate parsing processes and underlying automata. Understand the advantages of runtime operator definition and improved error message handling in bottom-up parsing.
Generating Parsers in C++ with Maphoon - Part 1 - CppCon 2022