|
Boost : |
Subject: Re: [boost] Phoenix v3 review
From: Joel de Guzman (joel_at_[hidden])
Date: 2011-02-25 20:57:38
On 2/25/2011 9:38 PM, Mathias Gaunard wrote:
> On 25/02/2011 14:13, Thomas Heller wrote:
>
>>> It would be nice to have a tool like Proto but that was extended to deal
>>> with more C++ language constructs. Even if the syntax to call them requires
>>> transforming those constructs to expressions with a DSEL of its own, at
>>> least there can be a canonic way to do so.
>>
>> This already exists inside proto, there are basic language constructs
>> and it is easily extensible (through proto transforms).
>
> There is no proto::if_, proto::while_ etc.
>
> The way I see it, Phoenix could provide the canonical way to represent statements in
> Proto-based DSELs.
This is very interesting! I never envisioned this when I first
wrote Phoenix. I'd love to see more of this.
Regards,
-- Joel de Guzman http://www.boostpro.com http://boost-spirit.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk