
Hi Abel, I prefer Sprout.Weed as a compile-time syntax analysis library. https://github.com/bolero-MURAKAMI/Sprout/tree/master/sprout/weed Sprout.Weed support Boost.Spirit.Qi like syntax. Genya Murakami is an author, seems to be willing to propose to Boost. http://thread.gmane.org/gmane.comp.lib.boost.devel/227096/focus=227134 If you think about this library? Thanks, Akira 2012/1/29 Abel Sinkovics <abel@elte.hu>:
Hi,
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: http://abel.web.elte.hu/metaparse/metaparse.zip The documentation can be found here: http://abel.web.elte.hu/metaparse/metaparse
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).
Regards, Abel
======================== Akira Takahashi mailto:faithandbrave@gmail.com https://sites.google.com/site/faithandbrave/about/en