> Spirit2 is not released yet. It is actively being
> developed in the Spirit subversion repository on
> SourceForge (
http://sourceforge.net/projects/spirit). You
> can find the Spirit2 presentations checked into svn here:
>
http://spirit.svn.sourceforge.net/viewvc/spirit/trunk/final> /libs/spirit/doc/
>
> If you are interested in staying abreast of Spirit2
> development, I suggest adding yourself to the spirit-devel
> mailing list, which you can do from SourceForge.
>
> HTH,
> Eric
A question (perhaps the mailing list is a better place to ask?):
Why are the semantic actions inside the grammar? I think it would be better if I could express semantic actions on rules after the grammar is formed. It would keep the grammar separate from what the result of the parsing is.
For example:
rule<> add = double_ >> "+" >> &add;
action<> add_action = add[arg1 << _1];