Subject: Re: [boost] [local] Review
From: Joel de Guzman (joel_at_[hidden])
Date: 2011-11-21 08:34:10
On 11/21/2011 9:17 PM, Lorenzo Caminiti wrote:
>> Definitely, yes. You can't really be seriously dabbling locals into
>> FP land now, are you? :-)
> Well, I am seriously asking for your guidance entering the
> Spirit/Phoenix domain.
> Would this be a good example or is there a better one?
> There are quire a few examples in the docs even after num_list4 (which
> is good) so I can use your help in selecting the best one for this
Are you really serious :-) ? Ok, try the simplest calculator
that uses phoenix:
That's the "hello world" for parsers, so to speak. See the
code in square brackets. Those are your phoenix semantic actions.
term [_val = _1]
-- Joel de Guzman http://www.boostpro.com http://boost-spirit.com