From: Reetesh M. <ree...@gm...> - 2007-11-30 11:15:22
|
I also have similar views. Actually there was an effort called Boost.Join ( http://channel.sourceforge.net/) which dealt with similar set of problem. Of course signal network library also gives hints towards possible design methodologies. For example if we have an http socket, and suppose we have to parse for an image object, we can have, read_until(http,image); or http >> image. If we have multiple objects say image, table etc., we can have following model, http >> +(image | model). boost spirit 2 has output/input models like karma, lex we need similar type of modules here also. In future we may look for embedding pi-calculus ( http://en.wikipedia.org/wiki/Pi-calculus) in C++, the way lambda calculus has been embedded in phoenix. Regards, Reetesh Mukul |