Re: [proto] So I heard proto make AST ...

2010-08-10 Thread Gordon Woodhull
Thanks Joel, This is food for thought! On Aug 10, 2010, at 2:47 AM, joel falcou wrote: On 10/08/10 05:24, Gordon Woodhull wrote: I wonder if Dan Marsden's Traversal library would solve this out of the box? http://boost-spirit.com/dl_docs/traversal/html/traversal/introduction.html Oh nice l

[proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Eric Niebler
I'm going to write a series of posts about proto and phoenix3 for cpp-next.com. I have a draft of the first post up. It mentions expression templates, spirit, phoenix and proto. Please take a moment to look it over and tell me if I've flubbed anything. All feedback welcome. http://cpp-next.com/?p=

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Hartmut Kaiser
Reads nicely and looks fine to me. Good job! Regards Hartmut --- Meet me at BoostCon www.boostcon.com > -Original Message- > From: Eric Niebler [mailto:e...@boostpro.com] > Sent: Tuesday, August 10, 2010 9:50 AM > To: Joel de Guzman; Hartmut Kaiser; Thomas Heller; proto > Su

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Alp Mestanogullari
That's a *great* post. There isn't much to add, the references you give are sufficient for those who don't know about ETs. On Tue, Aug 10, 2010 at 4:49 PM, Eric Niebler wrote: > I'm going to write a series of posts about proto and phoenix3 for > cpp-next.com. I have a draft of the first post up.

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Robert Jones
Well, as a complete novice to code of this sophistication I understood that piece perfectly, as far as it goes. Naturally, as the opening piece of a series it raises far more questions than it answers. It also scares me somewhat. This stuff could mark an absolute explosion of complexity in the cod

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Mathieu -
That's great, it looks really fine! Looking forward for the next posts ;). Good job. ___ proto mailing list proto@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/proto

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Eric Niebler
On 8/10/2010 11:14 AM, Robert Jones wrote: > Well, as a complete novice to code of this sophistication I > understood that piece perfectly, as far as it goes. Naturally, as the > opening piece of a series it raises far more questions than it > answers. That's great feedback, thank you. > It also

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Thomas Heller
On Tue, Aug 10, 2010 at 5:21 PM, Eric Niebler wrote: > On 8/10/2010 11:14 AM, Robert Jones wrote: >> Well, as a complete novice to code of this sophistication I >> understood that piece perfectly, as far as it goes. Naturally, as the >> opening piece of a series it raises far more questions than i

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Eric Niebler
On 8/10/2010 12:03 PM, Thomas Heller wrote: > On Tue, Aug 10, 2010 at 5:21 PM, Eric Niebler wrote: >> On 8/10/2010 11:14 AM, Robert Jones wrote: >>> When you get this >>> stuff wrong, what do the error messages look like? Boost.Bind & >>> Boost.Lambda errors are already enough to send most of us r

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Manjunath Kudlur
On Tue, Aug 10, 2010 at 7:49 AM, Eric Niebler wrote: > I'm going to write a series of posts about proto and phoenix3 for > cpp-next.com. I have a draft of the first post up. It mentions > expression templates, spirit, phoenix and proto. Please take a moment to > look it over and tell me if I've fl

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Mathieu -
On 10 August 2010 18:56, Eric Niebler wrote: > On 8/10/2010 12:03 PM, Thomas Heller wrote: >> And we are potentially able to reduce error message if SFINAE is >> applied more often, with the disadvantage of losing information on >> what failed. > > I disagree about SFINAE. I think it leads to horr

Re: [proto] So I heard proto make AST ...

2010-08-10 Thread Eric Niebler
On 8/10/2010 4:48 AM, Gordon Woodhull wrote: > Thanks Joel, > > This is food for thought! Indeed, but I'm struggling to keep up because I don't really know what you guys are after. > On Aug 10, 2010, at 2:47 AM, joel falcou wrote: >> On 10/08/10 05:24, Gordon Woodhull wrote: >>> >>> I wonder if

Re: [proto] So I heard proto make AST ...

2010-08-10 Thread Joel . Falcou
I'm on a tiny mobile, but my idéa was to have such algo as proto transforms & grammar > On 8/10/2010 4:48 AM, Gordon Woodhull wrote: >> Thanks Joel, >> >> This is food for thought! > > Indeed, but I'm struggling to keep up because I don't really know what > you guys are after. > >> On Aug 1

Re: [proto] So I heard proto make AST ...

2010-08-10 Thread Eric Niebler
On 8/10/2010 2:52 PM, joel.fal...@lri.fr wrote: > Eric Niebler wrote: >> A pre-order traversal, pushing each visited node into an mpl vector? How >> about: > I'm on a tiny mobile, but my idéa was to have such algo as proto > transforms & grammar Good. Now if you are saying that Proto's existing t

Re: [proto] So I heard proto make AST ...

2010-08-10 Thread Joel . Falcou
> Good. Now if you are saying that Proto's existing transforms are too > low-level and that things like pre- and post-order traversals should be > first class Proto citizens ... no argument. Patch? :- Yup exactly as soon as i haver a real kboard ___ pr

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Thomas Heller
On Tue, Aug 10, 2010 at 6:56 PM, Eric Niebler wrote: > On 8/10/2010 12:03 PM, Thomas Heller wrote: >> On Tue, Aug 10, 2010 at 5:21 PM, Eric Niebler wrote: >>> On 8/10/2010 11:14 AM, Robert Jones wrote: When you get this stuff wrong, what do the error messages look like? Boost.Bind & >>>

Re: [proto] So I heard proto make AST ...

2010-08-10 Thread Thomas Heller
On Tue, Aug 10, 2010 at 8:56 PM, Eric Niebler wrote: > On 8/10/2010 2:52 PM, joel.fal...@lri.fr wrote: >> Eric Niebler wrote: >>> A pre-order traversal, pushing each visited node into an mpl vector? How >>> about: > >> I'm on a tiny mobile, but my idéa was to have such algo as proto >> transforms

Re: [proto] So I heard proto make AST ...

2010-08-10 Thread Eric Niebler
On 8/10/2010 3:52 PM, Thomas Heller wrote: > On Tue, Aug 10, 2010 at 8:56 PM, Eric Niebler wrote: >> Good. Now if you are saying that Proto's existing transforms are >> too low-level and that things like pre- and post-order traversals >> should be first class Proto citizens ... no argument. Patch

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Joel de Guzman
On 8/10/2010 10:49 PM, Eric Niebler wrote: I'm going to write a series of posts about proto and phoenix3 for cpp-next.com. I have a draft of the first post up. It mentions expression templates, spirit, phoenix and proto. Please take a moment to look it over and tell me if I've flubbed anything. A

Re: [proto] for your review: intro to a series of blog posts about proto and phoenix v3

2010-08-10 Thread Eric Niebler
On 8/10/2010 8:31 PM, Joel de Guzman wrote: > On 8/10/2010 10:49 PM, Eric Niebler wrote: >> I'm going to write a series of posts about proto and phoenix3 for >> cpp-next.com. I have a draft of the first post up. It mentions >> expression templates, spirit, phoenix and proto. Please take a moment to