ericniebler / proto-0x

Boost.Proto, rewritten and redesigned for C++11
Boost Software License 1.0
28 stars 1 forks source link

What's the status of boost proto in 2019? #5

Open fluffynukeit opened 5 years ago

fluffynukeit commented 5 years ago

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.)

ericniebler commented 5 years ago

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.

fluffynukeit commented 5 years ago

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?

ericniebler commented 5 years ago

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.

fluffynukeit commented 5 years ago

Will do, thank you and take care.