Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Fronts Ends: Defining Terminals and Non-Terminals of Your EDSL

Making Terminals
Proto's Operator Overloads
Making Lazy Functions
Customizing Expressions in Your Domain
Domains
The extends<> Expression Wrapper
Expression Generators
Controlling Operator Overloads
Controlling How Child Expressions Are Captured
EDSL Interoperatability: Sub-Domains
Adapting Existing Types to Proto
Generating Repetitive Code with the Preprocessor

Here is the fun part: designing your own mini-programming language. In this section we'll talk about the nuts and bolts of designing an EDSL interface using Proto. We'll cover the definition of terminals and lazy functions that the users of your EDSL will get to program with. We'll also talk about Proto's expression template-building operator overloads, and about ways to add additional members to expressions within your domain.


PrevUpHomeNext