Sascha Krissler wrote:
On Sat, Dec 16, 2006 at 06:00:40PM -0800, Eric Niebler wrote:
Hello,
i am writing a multiple dispatch framework and as i am feeling scientific i am gonna try to add a predicate dispatch fearure to it. I am actively working on a generic expression template framework called
Sascha Krissler wrote: proto. It is already checked into Boost CVS as part of xpressive (see boost/xpressive/proto on CVS HEAD). It is also being used in the development of Spirit-2. I think it would be a very good fit for what you are trying to do.
what i need is to analyze the parse tree. so basically i need to access all the information on operators, variables, constants and subexpressions as metafunctions. so a generic expression template framework is exactly what i want. as i want to sort predicates and do other stuff with them, some code may be generic enough to be included.
You might also be interested with Phoenix which exposes the parse tree as fusion sequences. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net