proto-0x icon indicating copy to clipboard operation
proto-0x copied to clipboard

What's the status of boost proto in 2019?

Open fluffynukeit opened this issue 6 years ago • 4 comments

Hi, Eric. I'm interested in using boost proto for an EDSL. This youtube video of you describing proto-0x mentions to not bother with declaring "result_type" and some other boilerplate because it's no longer needed in proto-0x. The boost user guide for proto (copyright you 2008) still describes this "old" way of doing things without C++11 features. Did the C++11 version of proto ever get released, and did it get a user guide teaching the new ways of using it? Where's the right spot for me to study the most modern version of proto (or alternative)? Thanks.

(Apologies for an errant issue submission. I hit a wrong button on my keyboard and somehow submitted the issue mid-typing.)

fluffynukeit avatar Feb 05 '19 17:02 fluffynukeit

I never finished developing proto-0x, but it was very close and is in fact very usable, albeit undocumented. I have no plans to finish it, having moved on to other things. Zack Laine developed a modern replacement for Boost.Proto, called YAP I think. I don't know the state of it, but I'm sure some Googling would reveal much.

ericniebler avatar Feb 05 '19 18:02 ericniebler

Thank you, I will check it out as well as proto-0x. Do you still recommend the released boost proto, or do you feel it is too encumbered by legacy C++ cruft?

fluffynukeit avatar Feb 05 '19 18:02 fluffynukeit

Boost.Proto is fine, but perhaps more heavyweight than necessary in today's C++. I know little about @tzlaine's YAP, except that Zach is a very capable dev. If I were to start writing an EDSL, I would begin there.

ericniebler avatar Feb 05 '19 18:02 ericniebler

Will do, thank you and take care.

fluffynukeit avatar Feb 05 '19 18:02 fluffynukeit