Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the fundamentals of building Embedded Domain-Specific Languages (EDSLs) in C++ using Proto-0x in this comprehensive conference talk. Dive into the redesigned version of Boost.Proto, optimized for C++11, and learn how it simplifies EDSL design. Discover the basics of defining small EDSLs, understand the differences between the new and old Proto versions, and see how C++11 core features have influenced Proto's design. Cover topics such as Proto front ends, tree mapping, wild expression detection, composite actions, grammars and algorithms, user-defined expressions, promiscuous operators, library versioning with inline namespaces, static initialization, and constexpr tricks. Gain insights into modern library design approaches and how Proto-0x leverages C++11 to create safer and more efficient EDSLs.
Syllabus
A First Look at Proto-Ox
Proto Front Ends
A valid map_list of tree is...
Detecting Wild Expressions
Populate a map from a tree ..
Composite Actions
Populate a map from a tree...
Using Grammars and Algorithms
User-defined Expressions
A Working Expression Extension
Proto's Promiscuous Operators
The Complete Solution
Library Versioning with Inline Namespaces
Static Initialization in Proto
Stupid constexpr Tricks
Taught by
CppNow