On 5/17/15 10:58 PM, Andrey Semashev wrote:
On Sunday 17 May 2015 21:05:31 Joel de Guzman wrote:
Hello!
C++ Now 2015. Today is the official release of Spirit X3, aka Spirit 3.0.0. X3 will be in beta, coexisting side by side with Qi, Karma, Lex and Classic.
If you are a Qi user. The best place to start are the examples, especially rexpr and x3 fun.
Remember to use a compiler with c++14 capabilities:
clang 3.4 or greater gcc 4.9 or greater
Follow this link for more: http://boost-spirit.com/home/2015/05/16/spirit-3-0-0/
Congrats!
Is there a summary on differences between v2 and v3? A porting guide, perhaps?
Not yet. I'll work on it if I can find more time. At any rate, the syntax is around 95+% the same, except the rules and grammars (grammars no longer exist). I focused more on performance at CT and RT, rather than adding more bells and whistles. We also took advantage of C++11/14 features. The example set remains largely the same in both Qi and X3, so you can see the differences in usage. Ditto for the tests. Regards, -- Joel de Guzman http://www.ciere.com http://boost-spirit.com http://www.cycfi.com/