Boost logo

Boost :

Subject: Re: [boost] Requesting a review of Metaparse
From: Simonson, Lucanus J (lucanus.j.simonson_at_[hidden])
Date: 2012-01-30 13:03:49

-----Original Message-----
From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On Behalf Of Abel Sinkovics
Sent: Saturday, January 28, 2012 10:24 AM
To: boost_at_[hidden]
Subject: [boost] Requesting a review of Metaparse


I've created a version of Metaparse that depends on the Boost libraries
only. I request this version of Metaparse be placed in the queue for
formal review.

The zipped source code can be found here:
The documentation can be found here:

The library has been tested on the following compilers:
- GCC 4.6 (with and without -std=c++0x)
- GCC 3.4
- Clang 2.9
- Visual C++ 10

A quick summary:

Metaparse is a library for constructing parsers parsing at compile-time
based on template metaprogramming. The parsers built with the library
take boost::mpl::strings as input and can produce

- types
- objects (types with public static members)
- callable C++ functions (types with public static method)
- template metafunction classes

as output (based on the input being parsed).

On compilers supporting constexpr the library provides the following
syntactic sugar for writing the input of the parsers:

BOOST_STRING("this is a string")

The library can be used for implementing DSLs in C++, including DSLs
making C++ template metaprogramming easier (see examples).


Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at