Home | Libraries | People | FAQ | More |
Metaparse is intended to be used by library authors to make their APIs follow the usual notation of the library's problem domain.
Boost.Proto is a tool for building expression templates. Expression templates can be used for DSL embedding by reinterpreting valid C++ expressions as expressions written in the DSL to embed.
This technique has the advantages over parsing the content of string literals (which is Metaparse's approach) that:
Using expression templates for DSL embedding has the following disadvantages:
Proto helps embedding DSLs based on expression templates, while Metaparse helps embedding DSLs based on parsing the content of string literals.