
on Fri Jan 06 2012, "Martin Bidlingmaier" <Martin.Bidlingmaier-AT-gmx.de> wrote:
Hello,
with c++11's constexpr it got possible to parse strings in c++ at compile time. I've written a parser generator to create an AST for a given EBNF syntax at compile time, which can be traversed at both run time and compile time (actually, parsing can take place at run time, too, but it's probably rather slow). At the moment, the only compiler I know of that implements enough of c++11 features is gcc (version >= 4.6). Is refining my implementation worth the effort, has such a library a chance to make it into boost?
It was only a matter of time before someone proposed this. Of course it has a chance to make it into boost. I guess the the first question will be, "can you describe some plausible use-cases?" -- Dave Abrahams BoostPro Computing http://www.boostpro.com