Re: x3 beginner semantic actions

Joel de Guzman <[email protected]> Fri, 27 Apr 2018 06:04:45 +0800
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 27/04/2018 5:39 AM, Patrick Welche wrote:
> On Wed, Apr 25, 2018 at 11:20:48AM +1200, Henri Menke wrote:
>>> You shouldn't use semantic actions for this at all but I guess you know that.
>>> Use x3::symbols instead.
>>
>> Attached you can find how I'd do it with x3::symbols.  I still need one semantic
>> action for adding the attribute to the value.  Maybe one could even get rid of
>> that but I don't know how.  I'm not a Spirit expert either.
> 
> Thank you for a lovely symbols example! (Could be added to the roman
> numerals page...)

Contributions very welcome :-)

Regards,
-- 
Joel de Guzman
http://www.ciere.com
http://boost-spirit.com
http://www.cycfi.com/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general