Re: [Spirit Development] Bug using operator >> and > in same sequence
Robert Nelson <[email protected]> Sun, 2 Jan 2011 14:26:22 -0700
| Newsgroups | gmane.comp.parsers.spirit.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the forward; it has some useful information. I spent some time looking at the proto docs as well. I think it is possible to flatten trees with the transform struct. The built-in flatten tree transform seems inadequate in situations like this where we have 2 very similar operators. But maybe we could achieve the desired functionality using a custom transform struct. I found this in the archives: http://lists.boost.org/Archives/boost/2008/03/134396.php It explains how to flatten an expression such as a - b + c into a single fusion tuple. Maybe we could do something similar for the operators > and >>. I, admittedly, don't know that much about proto, but I think it would be possible to flatten trees containing both operators. Thanks --Robert Nelson ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl