Inquiring about the feasibility of boost::mpl based statechart DSELs that generate boost::statechart based components
Greetings; I am currently experimenting with the feasibility of writing a boost::mpl based library of metaprograms that process statechart DSEL language phrases ( see ref #1 below), that then specifically generate boost::statechart based components. I would be most grateful to hear from others regarding both difficulties to this approach, as well as success stories. If this approach seems feasible, I would like to contribute the resultant code back to the open source community. Since I'm not sure how the contribution process works, I would appreciate it if someone could point me in the right direction. Reference (#1) ( the statechart developed in chap 11, "A DSEL Design Walkthrough" in Abrahams and Gurtovoy's "C++ Template Metaprogramming book".) Thankyou very much for your time; Tony Turner R&D Software Engineer
Hi Tony
I am currently experimenting with the feasibility of writing a boost::mpl based library of metaprograms that process statechart DSEL language phrases ( see ref #1 below), that then specifically generate boost::statechart based components.
I don't have the book but I guess that there should be little difficulty in converting an FSM implemented with the referenced DSL to one that employs Boost.Statechart. I'm just not sure how MPL is going to help here. Could you please elaborate? Thanks & Regards, -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.
Hi, Andreas; Thank you for your response. Yes, after playing with replacing the mpl based DSL from the textbook with boost::statechart based templates, I find that so far, there is no need for further use of the mpl, beyond that which boost::statechart itself uses, i.e., mpl::list. Thank you for your time, Tony Turner On Sun, 2007-09-30 at 18:02 +0200, Andreas Huber wrote:
Hi Tony
I am currently experimenting with the feasibility of writing a boost::mpl based library of metaprograms that process statechart DSEL language phrases ( see ref #1 below), that then specifically generate boost::statechart based components.
I don't have the book but I guess that there should be little difficulty in converting an FSM implemented with the referenced DSL to one that employs Boost.Statechart. I'm just not sure how MPL is going to help here. Could you please elaborate?
Thanks & Regards,
-- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Andreas Huber
-
Tony Turner