Spirit is an object-oriented, recursive descent parser generator framework implemented using template meta-programming techniques. Expression templates allow Spirit to approximate the syntax of Extended Backus Normal Form (EBNF) completely in C++. The Spirit framework enables a target grammar to be written exclusively in C++. EBNF grammar specifications can mix freely with other C++ code and, thanks to the generative power of C++ templates, are immediately executable.
SQLpp is an SQL query generation framework for C++ and .NET. Its main features are .NET assembly, automatic SQL code generation, multiple database support, solving table joins puzzles, support for update, insert, and select queries, C# class wrapper generation (generates an entire Data Abstraction Layer), generation of a DAL for DotNetNuke or your application, Graphviz database representation generation, and smart stored procedure generation.